gpio: sx150x: fixup OF support
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Jan 2015 08:45:24 +0000 (09:45 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Jan 2015 08:45:24 +0000 (09:45 +0100)
commit16858cc5d9a65a0aa03b81214e234e33fbfbd64a
tree46adcba20260c9fe9b4a1f30474475749197bd16
parent257e10752c13f2698d53e5df1744f4d7e41fdfa7
gpio: sx150x: fixup OF support

Make OF conditional on CONFIG_OF_GPIO, rename and register
the match table.

Reported-by: Mike Krinkin <krinkin.m.u@gmail.com>
Cc: Wei Chen <Wei.Chen@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sx150x.c