]> git.karo-electronics.de Git - linux-beck.git/commitdiff
input: snvs_pwrkey: use "wakeup-source" as deivce tree property name
authorShawn Guo <shawnguo@kernel.org>
Wed, 15 Jul 2015 02:36:37 +0000 (10:36 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 18 Jul 2015 01:45:43 +0000 (09:45 +0800)
Instead of inventing a new property name, let's use "wakeup-source" to
be consistent with other driver and subsystem bindings.

Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/crypto/fsl-sec4.txt
drivers/input/keyboard/snvs_pwrkey.c

index 71a39c5bd486dfdf3c5e30e0f79081e449ef4c5f..f16bbd6644b8e4ea2451c67089d6b18edf1d0e44 100644 (file)
@@ -408,7 +408,7 @@ System ON/OFF key driver
       Value type: <int>
       Definition: Keycode to emit, KEY_POWER by default.
 
-  - wakeup:
+  - wakeup-source:
       Usage: option
       Value type: <boo>
       Definition: Button can wake-up the system.
index 512a1fc2a86488a81ae88496e590abc3614f1365..78fd24ca3813d988d0bc21a70469e4ed7aa6f53d 100644 (file)
@@ -122,7 +122,7 @@ static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
                dev_warn(&pdev->dev, "KEY_POWER without setting in dts\n");
        }
 
-       pdata->wakeup = of_property_read_bool(np, "wakeup");
+       pdata->wakeup = of_property_read_bool(np, "wakeup-source");
 
        pdata->irq = platform_get_irq(pdev, 0);
        if (pdata->irq < 0) {