memory: omap-gpmc: use devm_gpiochip_add_data()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Aug 2016 08:03:16 +0000 (10:03 +0200)
committerRoger Quadros <rogerq@ti.com>
Mon, 29 Aug 2016 08:00:23 +0000 (11:00 +0300)
commit525fe43f55ff6d110680bb3d750bed3dda01b989
tree886ca74b239c94fd4d243fc8058e50e9c649b07b
parent3f41a3c46727283a353f9a3fd510a4fc3d1c26b5
memory: omap-gpmc: use devm_gpiochip_add_data()

This saves a few codelines in the driver.

Cc: Roger Quadros <rogerq@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/memory/omap-gpmc.c