treewide: convert gpio-export to platform driver
authorRené van Dorst <opensource@vdorst.com>
Thu, 19 Jul 2018 10:55:55 +0000 (12:55 +0200)
committerMathias Kresin <dev@kresin.me>
Sat, 4 Aug 2018 06:39:35 +0000 (08:39 +0200)
commit0ae9396556584db2dac73364af44758a5ccf4873
tree01962934482c691deff34200dc6d3c3d84f71538
parent1d18a14a90c79ad56239a9fafe590427f1ae6aa5
treewide: convert gpio-export to platform driver

Without this patch you will get an error "gpio-export probe deferral
not supported" when you try to export i2c expander gpio pins.

gpio-export is probed long before i2c-bus and i2c expander are created
and it doesn't retry it so none pins are exported.

Signed-off-by: René van Dorst <opensource@vdorst.com>
apply the change to all instances of the gpio exports patch
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ath79/patches-4.14/0024-GPIO-add-named-gpio-exports.patch
target/linux/lantiq/patches-4.14/0030-GPIO-add-named-gpio-exports.patch
target/linux/ramips/patches-4.14/0024-GPIO-add-named-gpio-exports.patch