]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mpc8xxx: handle differences between incarnations at a single place
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 16 Jul 2015 19:08:22 +0000 (21:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 10:21:56 +0000 (12:21 +0200)
commit52f19c347965025efea6f505bf2178fdf9a8e99e
tree6e3602e3fe7cad9a53d05b2bf7907ccf3a596c33
parente8056e68453ff9fc577e403b17f29428ef3fb764
gpio: mpc8xxx: handle differences between incarnations at a single place

The gpio controllers that are handled by the mpc8xxx driver differ
slightly. Up to now some differences were handled by use of
of_device_is_compatible, others by use of struct of_device_id's data.

To make this consistent and easily extendable handle the differences at
a single place.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mpc8xxx.c