openwrt/target/linux/ath79/files/drivers/gpio
Rosen Penev 084665698b ath79: gpio-rb91x-key: use devm for mutex_init
mutex_destroy is not called in any error paths or in _remove. Just use
devm to do so.

Removed a pointless platform_set_devdata call. Not needed with all of
the devm conversions.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16630
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-10-08 19:35:56 +02:00
..
gpio-latch-mikrotik.c ath79: gpio-latch-mikrotik: use devm_mutex_init 2024-10-07 15:15:27 +02:00
gpio-rb4xx.c ath79: gpio-rb4xx: use devm_mutex_init 2024-10-08 19:34:38 +02:00
gpio-rb91x-key.c ath79: gpio-rb91x-key: use devm for mutex_init 2024-10-08 19:35:56 +02:00