]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: adp5520: use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Fri, 15 Mar 2013 09:14:01 +0000 (18:14 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:10 +0000 (16:05 +0100)
commit24bb3813d525322e007c47134cd476f04dbb554f
tree9f9a6df547bcc0ff4a8ffba28ea60306f524e4e6
parent808c513ee64be7cec6a7dcfff1687bc0995362bc
gpio: adp5520: use devm_kzalloc()

Use devm_kzalloc() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-adp5520.c