diff options
| author | Andy Shevchenko <[email protected]> | 2023-07-03 14:23:08 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-07-10 09:26:23 +0000 |
| commit | daecca4b8433d47f0db4933bcc0f283d530ba22e (patch) | |
| tree | 0e6f90c19484b829a5ee09b17e9fab0293ccb66e /drivers/gpio/gpio-mpc5200.c | |
| parent | gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find() (diff) | |
| download | kernel-daecca4b8433d47f0db4933bcc0f283d530ba22e.tar.gz kernel-daecca4b8433d47f0db4933bcc0f283d530ba22e.zip | |
gpiolib: Do not alter GPIO chip fwnode member
Ideally we should not touch data in the given GPIO chip structure.
Let's become closer to it by avoiding altering fwnode member.
The GPIO library must use fwnode from GPIO device and the drivers
might use one from GPIO chip in case they initialized it.
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Benjamin Tissoires <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-mpc5200.c')
0 files changed, 0 insertions, 0 deletions
