Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit def56bba authored by Shawn Guo's avatar Shawn Guo
Browse files

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: default avatarShawn Guo <shawnguo@kernel.org>
Acked-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent cc28791d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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) {