Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment