gpio: max7300: use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Fri, 15 Mar 2013 09:14:46 +0000 (18:14 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:11 +0000 (16:05 +0100)
commitc3fe2bf4916e85fabc66690c8784bbce3ef4d2b4
tree6af28e28fe1b17880949fc4c160376ca86c1cb0b
parent24bb3813d525322e007c47134cd476f04dbb554f
gpio: max7300: 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-max7300.c