gpio-button-hotplug: fix 6.2 build failure
authorWeijie Gao <hackpascal@gmail.com>
Sat, 6 Jan 2024 19:31:28 +0000 (03:31 +0800)
committerRobert Marko <robimarko@gmail.com>
Mon, 11 Mar 2024 19:17:26 +0000 (20:17 +0100)
commit7fcbcea75120fbab5adb87b6c63029dfd8812a39
treecfc5507719e013d1a30fb337c7c51311f14da2f8
parent729ad2feb32b70e9060073c29e3feedc5f6c418a
gpio-button-hotplug: fix 6.2 build failure

devm_gpiod_get_from_of_node() was removed since linux 6.2.
devm_fwnode_gpiod_get() is the recommended replacement.

Link:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpio/gpiolib-devres.c?id=650f2dc970539b3344a98c4bd18efa309e66623b

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Weijie Gao <hackpascal@gmail.com>
package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c