Andy Shevchenko 4ef339bc05 gpiolib: Unify access to the device properties
Some of the functions are using struct fwnode_handle, some struct device
pointer. In the GPIO library the firmware node of the GPIO device is the
same as GPIO node of the GPIO chip. Due to this fact we may use former
to access properties everywhere in the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Tested-by: Marijn Suijten <marijn.suijten@somainline.org>
[Bartosz: stick to the 80-char limit where it's not hurting readability]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2022-11-28 19:00:32 +01:00
..
2022-10-08 09:46:29 -07:00
2022-10-08 09:46:29 -07:00
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2022-10-26 14:52:02 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2022-06-23 23:18:13 +02:00
2022-06-21 18:01:11 +03:00
2019-11-07 09:27:48 +01:00
2022-06-06 14:09:16 +03:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2022-08-04 18:34:05 -07:00
2019-12-09 10:40:18 +01:00
2022-11-16 10:20:33 +01:00
2022-06-05 09:12:28 -07:00