ath79: gpio-rb91x-key: use gpiochip_get_data
authorRosen Penev <rosenp@gmail.com>
Sat, 19 Oct 2024 22:51:51 +0000 (15:51 -0700)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:46:18 +0000 (18:46 +0000)
commitec774fafe60763376f0dd82d34c621eea48dfa5f
treeba102d78f1a9126af22df65716e43c332f1b10d6
parente5a20b0f49070f17ac54c7d651dadc3a0a803d03
ath79: gpio-rb91x-key: use gpiochip_get_data

No need for a custom function that does the same thing.

Oversight from devm conversion.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16748
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit e99b5832e801fdf2ec366419797360e09c2348c6)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ath79/files/drivers/gpio/gpio-rb91x-key.c