Intel Lynxpoint GPIO is actually half way to the Chassis specification that has been established starting from Intel Skylake. It has some pin control properties we may utilize. To achieve this, move the driver under pin control umbrella and do a bunch of clean ups. This is the first step. Next step will be to convert it to the actual pin control driver. The series has been tested on Harrisbeach Ultrabook where Lynxpoint GPIO is exposed to the OS. Andy Shevchenko (8): pinctrl: lynxpoint: Move GPIO driver to pin controller folder pinctrl: lynxpoint: Use raw_spinlock for locking pinctrl: lynxpoint: Correct amount of pins pinctrl: lynxpoint: Keep pointer to struct device instead of its container pinctrl: lynxpoint: Use %pR to print IO resource pinctrl: lynxpoint: Switch to memory mapped IO accessors pinctrl: lynxpoint: Convert unsigned to unsigned int pinctrl: lynxpoint: Move ->remove closer to ->probe() MAINTAINERS | 1 - drivers/gpio/Kconfig | 8 - drivers/gpio/Makefile | 1 - drivers/pinctrl/intel/Kconfig | 10 ++ drivers/pinctrl/intel/Makefile | 1 + .../intel/pinctrl-lynxpoint.c} | 168 +++++++++--------- 6 files changed, 93 insertions(+), 96 deletions(-) rename drivers/{gpio/gpio-lynxpoint.c => pinctrl/intel/pinctrl-lynxpoint.c} (72%) -- 2.24.0.rc1