diff options
author | Shawn Guo <shawnguo@kernel.org> | 2015-07-14 22:36:37 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-07-17 21:45:43 -0400 |
commit | def56bba7a5c623fd887d1f4b4c864521d615a76 (patch) | |
tree | b22b54ec2ad5f90c8a88d0c07d22ac052dfe1013 /drivers/input/keyboard/snvs_pwrkey.c | |
parent | cc28791d5ece61eaa78e7b9bbc3ac1d14f664683 (diff) |
input: snvs_pwrkey: use "wakeup-source" as deivce tree property name
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>
Diffstat (limited to 'drivers/input/keyboard/snvs_pwrkey.c')
-rw-r--r-- | drivers/input/keyboard/snvs_pwrkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/snvs_pwrkey.c b/drivers/input/keyboard/snvs_pwrkey.c index 512a1fc2a864..78fd24ca3813 100644 --- a/drivers/input/keyboard/snvs_pwrkey.c +++ b/drivers/input/keyboard/snvs_pwrkey.c | |||
@@ -122,7 +122,7 @@ static int imx_snvs_pwrkey_probe(struct platform_device *pdev) | |||
122 | dev_warn(&pdev->dev, "KEY_POWER without setting in dts\n"); | 122 | dev_warn(&pdev->dev, "KEY_POWER without setting in dts\n"); |
123 | } | 123 | } |
124 | 124 | ||
125 | pdata->wakeup = of_property_read_bool(np, "wakeup"); | 125 | pdata->wakeup = of_property_read_bool(np, "wakeup-source"); |
126 | 126 | ||
127 | pdata->irq = platform_get_irq(pdev, 0); | 127 | pdata->irq = platform_get_irq(pdev, 0); |
128 | if (pdata->irq < 0) { | 128 | if (pdata->irq < 0) { |