gpio: gpio-max710x: Support device tree probing
authorRoland Stigge <stigge@antcom.de>
Thu, 15 Nov 2012 13:59:40 +0000 (14:59 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 17 Nov 2012 20:21:08 +0000 (21:21 +0100)
For probing via device tree, we need to support the case without platform_data.
In this case, chip.base is set to -1 for automatic numbering.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max730x.c

Simple merge