RE: [PATCH v2 3/3] Input: adp5589-keys - add basic devicetree support

2020-11-24 Thread Ardelean, Alexandru
> -Original Message- > From: Lars-Peter Clausen > Sent: Tuesday, November 24, 2020 10:43 AM > To: Ardelean, Alexandru ; linux- > in...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: dmitry.torok...@gmail.com > Subject: Re: [PATCH v2 3/3] Input: adp5589-keys -

Re: [PATCH v2 3/3] Input: adp5589-keys - add basic devicetree support

2020-11-24 Thread Lars-Peter Clausen
On 11/24/20 9:22 AM, Alexandru Ardelean wrote: error = devm_add_action_or_reset(&client->dev, adp5589_clear_config, @@ -1078,6 +1098,13 @@ static int __maybe_unused adp5589_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(adp5589_dev_pm_ops, adp5589_suspend, adp5589_resume); +

[PATCH v2 3/3] Input: adp5589-keys - add basic devicetree support

2020-11-24 Thread Alexandru Ardelean
From: Lars-Peter Clausen Add very basic devicetree suppport to the adp5589 allowing the device to be registered from devicetree and ACPI via PRP0001. Signed-off-by: Lars-Peter Clausen Signed-off-by: Alexandru Ardelean --- drivers/input/keyboard/adp5589-keys.c | 30 ++-