summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-ncp.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-09-06 16:29:26 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2016-09-20 15:21:07 +0200
commit7d53c1f01210aa79838f1fe34b2a89f8e900d720 (patch)
tree4ff9964f60a454841d043557a6f4051c42c816cf /arch/arm/mach-s3c64xx/mach-ncp.c
parentARM: sa1111: ensure we only touch RAB bus type devices when removing (diff)
downloadlinux-7d53c1f01210aa79838f1fe34b2a89f8e900d720.tar.xz
linux-7d53c1f01210aa79838f1fe34b2a89f8e900d720.zip
ARM: sa1111: use devm_kzalloc()
Use devm_kzalloc() to allocate our driver data, so we can eliminate its kfree() from the device removal and error cleanup paths. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-ncp.c')
0 files changed, 0 insertions, 0 deletions