Message ID | 20231129-descriptors-input-v1-2-9433162914a3@linaro.org (mailing list archive) |
---|---|
State | Mainlined |
Commit | 1ba05c92682fcc6d0ffb2fce5db68fb517278797 |
Headers | show |
Series | Convert some input drivers to use GPIO descriptors | expand |
On Wed, Nov 29, 2023 at 02:51:46PM +0100, Linus Walleij wrote: > The TCA6416 keypad driver is including the legacy GPIO > header <linux/gpio.h> for no reason, it is not using any > of its symbols. Drop the header. > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Applied, thank you.
diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c index 8af59ced1ec2..677bc4baa5d1 100644 --- a/drivers/input/keyboard/tca6416-keypad.c +++ b/drivers/input/keyboard/tca6416-keypad.c @@ -14,7 +14,6 @@ #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/workqueue.h> -#include <linux/gpio.h> #include <linux/i2c.h> #include <linux/input.h> #include <linux/tca6416_keypad.h>
The TCA6416 keypad driver is including the legacy GPIO header <linux/gpio.h> for no reason, it is not using any of its symbols. Drop the header. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/input/keyboard/tca6416-keypad.c | 1 - 1 file changed, 1 deletion(-)