Skip to content
Commit 7d53c1f0 authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent eac8dbf7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment