gpio: em: Setup gpiochip->dev
authorMagnus Damm <damm@opensource.se>
Wed, 20 Nov 2013 00:23:26 +0000 (09:23 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Nov 2013 08:03:39 +0000 (09:03 +0100)
commit969bf7aec86ccd6ce1934ed634e29517ae2b8e10
tree59753cab30b890e9810eae78113691d4ab75df07
parent403961120667bed7161777d33483596edd0b05f2
gpio: em: Setup gpiochip->dev

Make sure gpio_chip->dev is setup so of_gpiochip_add()
will work as expected.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-em.c