git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: core: Rework wp-gpio handling
[sfrench/cifs-2.6.git]
/
drivers
/
gpio
/
gpiolib-of.c
diff --git
a/drivers/gpio/gpiolib-of.c
b/drivers/gpio/gpiolib-of.c
index dc27b1a88e9343a8a029832cef5c6095a7be6238..b0b77e52e26112a192bd036c58605b64e62c5684 100644
(file)
--- a/
drivers/gpio/gpiolib-of.c
+++ b/
drivers/gpio/gpiolib-of.c
@@
-120,10
+120,6
@@
static void of_gpio_flags_quirks(struct device_node *np,
if (of_property_read_bool(np, "cd-inverted"))
*flags ^= OF_GPIO_ACTIVE_LOW;
}
- if (!strcmp(propname, "wp-gpios")) {
- if (of_property_read_bool(np, "wp-inverted"))
- *flags ^= OF_GPIO_ACTIVE_LOW;
- }
}
/*
* Some GPIO fixed regulator quirks.