]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: xgene-sb: Drop ACPI_PTR() and CONFIG_ACPI guards
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2024 13:45:01 +0000 (16:45 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 22 Oct 2024 07:21:12 +0000 (09:21 +0200)
commit33319f6d3416fa00e87e9abf41d9ac98a5d5185c
tree84ecc4e8edc11c0f56ef6c6475f854006bd1de88
parent8b26b8e8be3eac0a3beacf1f07bf2dfb4d679d37
gpio: xgene-sb: Drop ACPI_PTR() and CONFIG_ACPI guards

The complexity of config guards needed for ACPI_PTR() is not worthwhile
for the small amount of saved data. This example was doing it correctly
but I am proposing dropping this so as to reduce chance of cut and paste
where it is done wrong.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241018134550.2071101-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-xgene-sb.c