platform/surface: hotplug: Correct inclusion for GPIO APIs
Subsystems (3)
PATCH 1/1 platform/surface: hotplug: Correct inclusion for GPIO APIs
The modern GPIO APIs are available for users via linux/gpio/consumer.h. The linux/gpio.h is legacy header that is subject to remove. Hence replace the latter by the former in the driver.
--- drivers/platform/surface/surface_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/surface/surface_hotplug.c +1 -1
@@ -14,7 +14,7 @@*/ #include <linux/acpi.h> -#include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/module.h>
Signature · 1 line
2.50.1
Ilpo Järvinen
maintainerQuoted 5 lines · Andy Shevchenko
The modern GPIO APIs are available for users via
linux/gpio/consumer.h. Thelinux/gpio.his legacy header that is subject to remove. Hence replace the latter by the former in the driver.
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/surface: hotplug: Correct inclusion for GPIO APIs
commit: c62bf0b0c7608b0b47548e0f52d65183ad6ce2eb
--
i.