gpio: rdc321x: Convert to use devm_kzalloc
authorAxel Lin <axel.lin@ingics.com>
Fri, 11 Apr 2014 06:16:01 +0000 (14:16 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:10 +0000 (12:35 -0700)
commit95ad6b9da5d28dbd8a10e4e0091242504b3d13d1
treeead9c761440cf552c50c791167cefe2d3ce96802
parentdf0c6c80232f2ad442dcf79a3a420eb8ac624e42
gpio: rdc321x: Convert to use devm_kzalloc

This saves a few unwind code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rdc321x.c