diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-06-14 14:27:56 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-07-13 12:14:39 +0400 |
commit | 612e1d5f1c192996889038598fb82ea03fb01573 (patch) | |
tree | 21272007353bd34851e6475f55cfd4e48471acbf /drivers/pinctrl/pinctrl-nomadik.c | |
parent | ddb3b99c532930c9f891e97af5ef4e6691076c16 (diff) | |
download | linux-612e1d5f1c192996889038598fb82ea03fb01573.tar.xz |
pinctrl: pinctrl-nomadik: Append sleepmode property with vendor specific prefixes
Any non-standard property should contain the vendor's identifier which
should be perpended onto the property name followed by a comma. This
aids in name-space collision prevention. This patch ensures the
sleepmode property adheres to the rules.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-nomadik.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c index 3e7e47d6b385..dd9e6f26416d 100644 --- a/drivers/pinctrl/pinctrl-nomadik.c +++ b/drivers/pinctrl/pinctrl-nomadik.c @@ -1198,7 +1198,7 @@ static int __devinit nmk_gpio_probe(struct platform_device *dev) if (!pdata) return -ENOMEM; - if (of_get_property(np, "supports-sleepmode", NULL)) + if (of_get_property(np, "st,supports-sleepmode", NULL)) pdata->supports_sleepmode = true; if (of_property_read_u32(np, "gpio-bank", &dev->id)) { |