OSDN Git Service

gpiolib: Add gpiochip_set_data() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 21 Mar 2023 13:53:32 +0000 (15:53 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 3 Apr 2023 15:46:30 +0000 (17:46 +0200)
commit7b59bdbc3965ca8add53e084af394c13a2be22a8
tree8e58d2b331924a7e2599baa85a37834a6db92635
parent8deb779d36cb86c1c1c37d767317f5899b32fc76
gpiolib: Add gpiochip_set_data() helper

There are too many 'data' parameters here and there.

For the better maintenance keep access GPIO device data
via getter and setter.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c