projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'printk-for-5.5-pr-warning-removal' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git]
/
drivers
/
gpio
/
gpio-twl6040.c
diff --git
a/drivers/gpio/gpio-twl6040.c
b/drivers/gpio/gpio-twl6040.c
index
c845b2f
..
648fb41
100644
(file)
--- a/
drivers/gpio/gpio-twl6040.c
+++ b/
drivers/gpio/gpio-twl6040.c
@@
-34,8
+34,7
@@
static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset)
static int twl6040gpo_get_direction(struct gpio_chip *chip, unsigned offset)
{
- /* This means "out" */
- return 0;
+ return GPIO_LINE_DIRECTION_OUT;
}
static int twl6040gpo_direction_out(struct gpio_chip *chip, unsigned offset,