siflower: gpio: use gpiochip_get_data
authorRosen Penev <[email protected]>
Sat, 19 Oct 2024 23:07:41 +0000 (16:07 -0700)
committerChuanhong Guo <[email protected]>
Mon, 21 Oct 2024 01:18:21 +0000 (09:18 +0800)
commitf9da81d32f3299dc91858c3718c4d61d1073f603
tree3f9ad5c84fee6e5b82430439a6b41af2b0363920
parente550c6d3817c11fcd74f01fb9a7a62c9f733d490
siflower: gpio: use gpiochip_get_data

No need to use container_of.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16749
Signed-off-by: Chuanhong Guo <[email protected]>
target/linux/siflower/files-6.6/drivers/gpio/gpio-siflower.c