]> 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)
commitd1a90920ad185029970f809d838bd451587f47af
tree6e3602e3fe7cad9a53d05b2bf7907ccf3a596c33
parent4dfa837b82265f7040ccdac28dba8e978dcdeb71
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