linux/drivers/hte
Bartosz Golaszewski dc850faa28 hte: tegra194: don't access struct gpio_chip
Using struct gpio_chip is not safe as it will disappear if the
underlying driver is unbound for any reason. Switch to using reference
counted struct gpio_device and its dedicated accessors.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tested-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
[andy: used gpio_device_find_by_fwnode()]
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Link: https://lore.kernel.org/r/20231010151709.4104747-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-10-18 09:47:48 +02:00
..
hte-tegra194-test.c hte: tegra-194: Use proper includes 2023-04-26 15:44:30 -07:00
hte-tegra194.c hte: tegra194: don't access struct gpio_chip 2023-10-18 09:47:48 +02:00
hte.c hte: Explicitly include correct DT includes 2023-08-28 13:31:06 -05:00
Kconfig hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00
Makefile hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00