]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/surface: hotplug: Correct inclusion for GPIO APIs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Mar 2026 22:11:43 +0000 (23:11 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Mar 2026 09:55:09 +0000 (11:55 +0200)
commitc62bf0b0c7608b0b47548e0f52d65183ad6ce2eb
tree53934821a378770a5a359da868008353543e635d
parent19ebacfb442b83aa5fe75f9c6851b4edbfff3760
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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260320221143.3237791-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/surface/surface_hotplug.c