treewide: convert gpio-export to platform driver
authorRené van Dorst <opensource@vdorst.com>
Thu, 19 Jul 2018 10:55:55 +0000 (12:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:43 +0000 (17:47 +0100)
commitbc67dc7d0388dcef717330d13eeb336bbf4ecee2
tree345aa7189117431ffba33d7cd39e50e3776cf763
parent5da53b65bc116a3fd3450686976b8e4d01bab3a0
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>
(backported from 0ae9396556584db2dac73364af44758a5ccf4873)
target/linux/ipq806x/patches-4.14/0066-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