commit | 7d53c1f01210aa79838f1fe34b2a89f8e900d720 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Sep 06 15:29:26 2016 +0100 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Tue Sep 20 14:21:07 2016 +0100 |
tree | 4ff9964f60a454841d043557a6f4051c42c816cf | |
parent | eac8dbf74f30479b70b9a53f3b24285bd6229d09 [diff] |
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>