Skip to content

Commit

Permalink
pinctrl: pinctrl-nomadik: Append sleepmode property with vendor speci…
Browse files Browse the repository at this point in the history
…fic 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>
  • Loading branch information
Lee Jones committed Jul 13, 2012
1 parent ddb3b99 commit 612e1d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/gpio/gpio-nmk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Example:
#gpio-cells = <2>;
gpio-controller;
interrupt-controller;
supports-sleepmode;
st,supports-sleepmode;
gpio-bank = <1>;
};
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinctrl-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 612e1d5

Please sign in to comment.