[PATCH 3/8] gpio: 74x164: Remove platform data and use dynamic gpio number assignment
thomas.petazzoni at free-electrons.com
Wed Sep 5 05:15:28 EDT 2012
Le Wed, 05 Sep 2012 10:48:14 +0200,
Florian Fainelli <florian at openwrt.org> a écrit :
> On Wednesday 05 September 2012 10:40:52 Maxime Ripard wrote:
> > Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> No, please don't do it that way, rather check if the platform_data pointer is
> null, and if it is, fall-back to dynamic gpio base assignment. There is a
> currently out of tree user of this for which it matters to be able to set a
> specific gpio base numbering.
Do we care about out of tree users?
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the linux-arm-kernel