diff options
| author | Bartosz Golaszewski <[email protected]> | 2020-09-09 08:54:25 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-09-14 08:54:01 +0000 |
| commit | 7cba1a4d5e1628e099728d849918de50dab2e24e (patch) | |
| tree | 294a4a2e9b35eaa8a1c047924918f9d0e061880f /lib/string_helpers.c | |
| parent | device: property: add helpers to count items in string arrays (diff) | |
| download | kernel-7cba1a4d5e1628e099728d849918de50dab2e24e.tar.gz kernel-7cba1a4d5e1628e099728d849918de50dab2e24e.zip | |
gpiolib: generalize devprop_gpiochip_set_names() for device properties
devprop_gpiochip_set_names() is overly complicated with taking the
fwnode argument (which requires using dev_fwnode() & of_fwnode_handle()
in ACPI and OF GPIO code respectively). Let's just switch to using the
generic device properties.
This allows us to pull the code setting line names directly into
gpiochip_add_data_with_key() instead of handling it separately for
ACPI and OF.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
