Age | Commit message (Collapse) | Author | Files | Lines |
|
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Yangtao Li <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
|
|
This driver is a pure GPIO driver and should only include
<linux/gpio/driver.h>.
Signed-off-by: Linus Walleij <[email protected]>
|
|
The ks8695 gpio driver has its own copy of the irq_to_gpio()
function. This is completely unused in the mainline kernel
after we converted all remaining users several years ago,
so we can remove the definition as well.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
|
|
For completion, sweep the floor from all gpiochip_add() usage so
we can remove that function and get rid of the function wrapper
gpiochip_add().
Signed-off-by: Linus Walleij <[email protected]>
|
|
Signed-off-by: Varka Bhadram <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
|
|
Signed-off-by: Varka Bhadram <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
|
|
This switches the two members of struct gpio_chip that were
defined as unsigned foo:1 to bool, because that is indeed what
they are. Switch all users in the gpio and pinctrl subsystems
to assign these values with true/false instead of 0/1. The
users outside these subsystems will survive since true/false
is 1/0, atleast we set some kind of more strict typing example.
Signed-off-by: Linus Walleij <[email protected]>
|
|
The <mach/gpio.h> file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.
Cc: zeal <[email protected]>
Cc: Ben Dooks <[email protected]>
Acked-by: Daniel Silverstone <[email protected]>
Acked-by: Simtec Linux Team <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Russell King <[email protected]>
|
|
As per example from the other ARM boards, push the KS8695 GPIO
driver down to the GPIO subsystem so it can be consolidated.
Cc: zeal <[email protected]>
Cc: Ben Dooks <[email protected]>
Acked-by: Daniel Silverstone <[email protected]>
Acked-by: Simtec Linux Team <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Russell King <[email protected]>
|