gpio-button-hotplug: use dev_err_probe main
authorRosen Penev <rosenp@gmail.com>
Sat, 7 Sep 2024 21:11:19 +0000 (14:11 -0700)
committerRobert Marko <robimarko@gmail.com>
Mon, 23 Sep 2024 16:22:07 +0000 (18:22 +0200)
commit7c9998f7133b0fdc08956634de792ea41a2e0e6a
treecc7879929bf542d643f928c18ccb96031b853b16
parent2eb39308c946b99947136e4c841959e0a8c4537d
gpio-button-hotplug: use dev_err_probe

Avoids having to handle EPROBE_DEFER manually.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16456
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/gpio-button-hotplug/Makefile
package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c