diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-10-18 12:05:38 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-18 14:24:17 +0200 |
commit | 228fc01040704f55fd884ab41daf3eafd2644b54 (patch) | |
tree | 83e63a768af9da52cca390a46bcf1c000b813087 /drivers/gpio/gpio-dln2.c | |
parent | ac4062aa6c811db89ee3bbfd3101af931a50c1ba (diff) |
gpio: of: don't warn if ignored GPIO flag matches the behavior
Some devicetrees specify the ACTIVE_LOW flag in the fixed regulator GPIO
handle. While this has always been ignored, it's consistent with the
behavior of the regulator binding in the absence of the
"enable-active-high" DT property. It doesn't make much sense to print a
user visible warning for a configuration which is consistent, so only
print the warning if the GPIO flag contradicts the behavior dictated by
by the enable-active-high property.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
[Bartosz: coding style tweak]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-dln2.c')
0 files changed, 0 insertions, 0 deletions