aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mpc5200.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-07-03 14:23:08 +0000
committerBartosz Golaszewski <[email protected]>2023-07-10 09:26:23 +0000
commitdaecca4b8433d47f0db4933bcc0f283d530ba22e (patch)
tree0e6f90c19484b829a5ee09b17e9fab0293ccb66e /drivers/gpio/gpio-mpc5200.c
parentgpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find() (diff)
downloadkernel-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