diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-03-04 16:31:19 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-03-04 16:47:10 +0200 |
commit | e646f0dae7b0f099b36d12d9cb5ca733b8273f10 (patch) | |
tree | b84cffc3c90e3187dcb41234567f6bafd20084ee /drivers/gpio/gpio-aggregator.c | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
gpiolib-acpi: Drop unneeded ERR_CAST() in __acpi_find_gpio()
The checked type by PTR_ERR() is the same as returned by __acpi_find_gpio().
Hence there is no need to cast, drop it.
Acked-by: Mika Westerberg <westeri@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-aggregator.c')
0 files changed, 0 insertions, 0 deletions