diff options
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
-rw-r--r-- | drivers/gpio/gpiolib-of.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index bfcd20699ec8..e0d59e61b52f 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c | |||
@@ -153,8 +153,8 @@ struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id, | |||
153 | *flags |= GPIO_OPEN_SOURCE; | 153 | *flags |= GPIO_OPEN_SOURCE; |
154 | } | 154 | } |
155 | 155 | ||
156 | if (of_flags & OF_GPIO_SLEEP_MAY_LOOSE_VALUE) | 156 | if (of_flags & OF_GPIO_SLEEP_MAY_LOSE_VALUE) |
157 | *flags |= GPIO_SLEEP_MAY_LOOSE_VALUE; | 157 | *flags |= GPIO_SLEEP_MAY_LOSE_VALUE; |
158 | 158 | ||
159 | return desc; | 159 | return desc; |
160 | } | 160 | } |