All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] input: da9063 updates
@ 2019-05-20  9:27 Wolfram Sang
  2019-05-20  9:27 ` [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support Wolfram Sang
  2019-05-20  9:27 ` [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX Wolfram Sang
  0 siblings, 2 replies; 7+ messages in thread
From: Wolfram Sang @ 2019-05-20  9:27 UTC (permalink / raw)
  To: linux-input; +Cc: linux-renesas-soc, Dmitry Torokhov, Steve Twiss, Wolfram Sang

This series removes the unused pdata interface and updates the header to
SPDX. Last time, a similar and bigger da9063 series was meant to go in
via MFD. This resend, however, was rebased to v5.2-rc1 and regrouped, so
it can go in via the input tree directly.

Wolfram Sang (2):
  input: da9063_onkey: remove platform_data support
  input: da9063_onkey: convert header to SPDX

 drivers/input/misc/da9063_onkey.c | 22 +++-------------------
 1 file changed, 3 insertions(+), 19 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support
  2019-05-20  9:27 [PATCH RESEND 0/2] input: da9063 updates Wolfram Sang
@ 2019-05-20  9:27 ` Wolfram Sang
  2019-05-20 11:26   ` Geert Uytterhoeven
  2019-05-20  9:27 ` [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX Wolfram Sang
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2019-05-20  9:27 UTC (permalink / raw)
  To: linux-input
  Cc: linux-renesas-soc, Dmitry Torokhov, Steve Twiss, Wolfram Sang,
	Simon Horman

There are no in-kernel users anymore, so remove this outdated interface.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
Tested-by: Steve Twiss <stwiss.opensource@diasemi.com>
---
 drivers/input/misc/da9063_onkey.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/drivers/input/misc/da9063_onkey.c b/drivers/input/misc/da9063_onkey.c
index 3e9c353d82ef..e3a273c74123 100644
--- a/drivers/input/misc/da9063_onkey.c
+++ b/drivers/input/misc/da9063_onkey.c
@@ -22,7 +22,6 @@
 #include <linux/regmap.h>
 #include <linux/of.h>
 #include <linux/mfd/da9063/core.h>
-#include <linux/mfd/da9063/pdata.h>
 #include <linux/mfd/da9063/registers.h>
 #include <linux/mfd/da9062/core.h>
 #include <linux/mfd/da9062/registers.h>
@@ -201,8 +200,6 @@ static void da9063_cancel_poll(void *data)
 
 static int da9063_onkey_probe(struct platform_device *pdev)
 {
-	struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent);
-	struct da9063_pdata *pdata = dev_get_platdata(da9063->dev);
 	struct da9063_onkey *onkey;
 	const struct of_device_id *match;
 	int irq;
@@ -229,12 +226,8 @@ static int da9063_onkey_probe(struct platform_device *pdev)
 		return -ENXIO;
 	}
 
-	if (pdata)
-		onkey->key_power = pdata->key_power;
-	else
-		onkey->key_power =
-			!of_property_read_bool(pdev->dev.of_node,
-					       "dlg,disable-key-power");
+	onkey->key_power = !of_property_read_bool(pdev->dev.of_node,
+						  "dlg,disable-key-power");
 
 	onkey->input = devm_input_allocate_device(&pdev->dev);
 	if (!onkey->input) {
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX
  2019-05-20  9:27 [PATCH RESEND 0/2] input: da9063 updates Wolfram Sang
  2019-05-20  9:27 ` [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support Wolfram Sang
@ 2019-05-20  9:27 ` Wolfram Sang
  2019-05-20 11:24   ` Geert Uytterhoeven
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2019-05-20  9:27 UTC (permalink / raw)
  To: linux-input
  Cc: linux-renesas-soc, Dmitry Torokhov, Steve Twiss, Wolfram Sang,
	Simon Horman

Covnert the header of the source file to SPDX.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
---
 drivers/input/misc/da9063_onkey.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/drivers/input/misc/da9063_onkey.c b/drivers/input/misc/da9063_onkey.c
index e3a273c74123..c06e067bd627 100644
--- a/drivers/input/misc/da9063_onkey.c
+++ b/drivers/input/misc/da9063_onkey.c
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * OnKey device driver for DA9063, DA9062 and DA9061 PMICs
  * Copyright (C) 2015  Dialog Semiconductor Ltd.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/module.h>
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX
  2019-05-20  9:27 ` [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX Wolfram Sang
@ 2019-05-20 11:24   ` Geert Uytterhoeven
  2019-05-21  5:00     ` Dmitry Torokhov
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2019-05-20 11:24 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-input, Linux-Renesas, Dmitry Torokhov, Steve Twiss, Simon Horman

On Mon, May 20, 2019 at 12:40 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Covnert the header of the source file to SPDX.

Convert

> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
> Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support
  2019-05-20  9:27 ` [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support Wolfram Sang
@ 2019-05-20 11:26   ` Geert Uytterhoeven
  2019-05-21  4:59     ` Dmitry Torokhov
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2019-05-20 11:26 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-input, Linux-Renesas, Dmitry Torokhov, Steve Twiss, Simon Horman

On Mon, May 20, 2019 at 12:40 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> There are no in-kernel users anymore, so remove this outdated interface.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
> Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
> Tested-by: Steve Twiss <stwiss.opensource@diasemi.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support
  2019-05-20 11:26   ` Geert Uytterhoeven
@ 2019-05-21  4:59     ` Dmitry Torokhov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2019-05-21  4:59 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Wolfram Sang, linux-input, Linux-Renesas, Steve Twiss, Simon Horman

On Mon, May 20, 2019 at 01:26:15PM +0200, Geert Uytterhoeven wrote:
> On Mon, May 20, 2019 at 12:40 PM Wolfram Sang
> <wsa+renesas@sang-engineering.com> wrote:
> > There are no in-kernel users anymore, so remove this outdated interface.
> >
> > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> > Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
> > Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
> > Tested-by: Steve Twiss <stwiss.opensource@diasemi.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX
  2019-05-20 11:24   ` Geert Uytterhoeven
@ 2019-05-21  5:00     ` Dmitry Torokhov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2019-05-21  5:00 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Wolfram Sang, linux-input, Linux-Renesas, Steve Twiss, Simon Horman

On Mon, May 20, 2019 at 01:24:18PM +0200, Geert Uytterhoeven wrote:
> On Mon, May 20, 2019 at 12:40 PM Wolfram Sang
> <wsa+renesas@sang-engineering.com> wrote:
> > Covnert the header of the source file to SPDX.
> 
> Convert
> 
> > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> > Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
> > Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-21  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20  9:27 [PATCH RESEND 0/2] input: da9063 updates Wolfram Sang
2019-05-20  9:27 ` [PATCH RESEND 1/2] input: da9063_onkey: remove platform_data support Wolfram Sang
2019-05-20 11:26   ` Geert Uytterhoeven
2019-05-21  4:59     ` Dmitry Torokhov
2019-05-20  9:27 ` [PATCH RESEND 2/2] input: da9063_onkey: convert header to SPDX Wolfram Sang
2019-05-20 11:24   ` Geert Uytterhoeven
2019-05-21  5:00     ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.