projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4e251
)
GPIO: clps711x: Fix return value for gpio_clps711x_get
author
Alexander Shiyan
<shc_work@mail.ru>
Wed, 24 Oct 2012 06:58:57 +0000
(10:58 +0400)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Oct 2012 08:03:20 +0000
(10:03 +0200)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-clps711x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-clps711x.c
b/drivers/gpio/gpio-clps711x.c
index ea21822b3de97d5e7ab8bd09960e0ac18b77a4fe..0753b3a9a34d177d970a7a00f11459800d3c1a62 100644
(file)
--- a/
drivers/gpio/gpio-clps711x.c
+++ b/
drivers/gpio/gpio-clps711x.c
@@
-47,7
+47,7
@@
static void __iomem *clps711x_pdirs[] = {
static int gpio_clps711x_get(struct gpio_chip *chip, unsigned offset)
{
- return !!
readb(clps711x_port(chip)) & (1 << offset
);
+ return !!
(readb(clps711x_port(chip)) & (1 << offset)
);
}
static void gpio_clps711x_set(struct gpio_chip *chip, unsigned offset,