mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
dedeb28755
Use devm_gpiochip_add_data to get rid of the remove function. No need for it. Also use dev_err_probe to simplify the error path and avoid having to handle -EPROBE_DEFER manually. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16506 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>