linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/5] gpio: stmpe: A few cleanups
@ 2024-09-02 13:30 Andy Shevchenko
  2024-09-02 13:30 ` [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages Andy Shevchenko
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Andy Shevchenko @ 2024-09-02 13:30 UTC (permalink / raw)
  To: Andy Shevchenko, linux-gpio, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Maxime Coquelin,
	Alexandre Torgue

A few ad-hoc cleanups inducted by the recent patch that made
an (insignificant) typo in one message.

Andy Shevchenko (5):
  gpio: stmpe: Fix IRQ related error messages
  gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio
  gpio: stmpe: Utilise temporary variable for struct device
  gpio: stmpe: Make use of device properties
  gpio: stmpe: Sort headers

 drivers/gpio/gpio-stmpe.c | 52 ++++++++++++++++-----------------------
 1 file changed, 21 insertions(+), 31 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac


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

* [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages
  2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
@ 2024-09-02 13:30 ` Andy Shevchenko
  2024-09-05 11:33   ` Linus Walleij
  2024-09-02 13:30 ` [PATCH v1 2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio Andy Shevchenko
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Andy Shevchenko @ 2024-09-02 13:30 UTC (permalink / raw)
  To: Andy Shevchenko, linux-gpio, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Maxime Coquelin,
	Alexandre Torgue

First of all, remove duplicate message that platform_get_irq()
does already print. Second, correct the error message when unable
to register a handler, which is broken in two ways:
1) the misleading 'get' vs. 'register';
2) missing '\n' at the end.

(Yes, for the curious ones, the dev_*() cases do not require '\n'
and issue it automatically, but it's better to have them explicit)

Fix all this here.

Fixes: 1882e769362b ("gpio: stmpe: Simplify with dev_err_probe()")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-stmpe.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index abd42a975b09..4e171f9075bf 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -464,6 +464,7 @@ static void stmpe_gpio_disable(void *stmpe)
 
 static int stmpe_gpio_probe(struct platform_device *pdev)
 {
+	struct device *dev = &pdev->dev;
 	struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent);
 	struct device_node *np = pdev->dev.of_node;
 	struct stmpe_gpio *stmpe_gpio;
@@ -493,12 +494,6 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 	of_property_read_u32(np, "st,norequest-mask",
 			&stmpe_gpio->norequest_mask);
 
-	irq = platform_get_irq(pdev, 0);
-	if (irq < 0)
-		dev_info(&pdev->dev,
-			"device configured in no-irq mode: "
-			"irqs are not available\n");
-
 	ret = stmpe_enable(stmpe, STMPE_BLOCK_GPIO);
 	if (ret)
 		return ret;
@@ -507,6 +502,7 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 	if (ret)
 		return ret;
 
+	irq = platform_get_irq(pdev, 0);
 	if (irq > 0) {
 		struct gpio_irq_chip *girq;
 
@@ -514,8 +510,7 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 				stmpe_gpio_irq, IRQF_ONESHOT,
 				"stmpe-gpio", stmpe_gpio);
 		if (ret)
-			return dev_err_probe(&pdev->dev, ret,
-					     "unable to get irq");
+			return dev_err_probe(dev, ret, "unable to register IRQ handler\n");
 
 		girq = &stmpe_gpio->chip.irq;
 		gpio_irq_chip_set_chip(girq, &stmpe_gpio_irq_chip);
-- 
2.43.0.rc1.1336.g36b5255a03ac


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

* [PATCH v1 2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio
  2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
  2024-09-02 13:30 ` [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages Andy Shevchenko
@ 2024-09-02 13:30 ` Andy Shevchenko
  2024-09-05 11:34   ` Linus Walleij
  2024-09-02 13:30 ` [PATCH v1 3/5] gpio: stmpe: Utilise temporary variable for struct device Andy Shevchenko
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Andy Shevchenko @ 2024-09-02 13:30 UTC (permalink / raw)
  To: Andy Shevchenko, linux-gpio, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Maxime Coquelin,
	Alexandre Torgue

There is no evidence that the 'dev' member of struct stmpe_gpio
is used, drop it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-stmpe.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index 4e171f9075bf..99f1482b2ab3 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -31,7 +31,6 @@ enum { LSB, CSB, MSB };
 struct stmpe_gpio {
 	struct gpio_chip chip;
 	struct stmpe *stmpe;
-	struct device *dev;
 	struct mutex irq_lock;
 	u32 norequest_mask;
 	/* Caches of interrupt control registers for bus_lock */
@@ -481,7 +480,6 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 
 	mutex_init(&stmpe_gpio->irq_lock);
 
-	stmpe_gpio->dev = &pdev->dev;
 	stmpe_gpio->stmpe = stmpe;
 	stmpe_gpio->chip = template_chip;
 	stmpe_gpio->chip.ngpio = stmpe->num_gpios;
-- 
2.43.0.rc1.1336.g36b5255a03ac


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

* [PATCH v1 3/5] gpio: stmpe: Utilise temporary variable for struct device
  2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
  2024-09-02 13:30 ` [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages Andy Shevchenko
  2024-09-02 13:30 ` [PATCH v1 2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio Andy Shevchenko
@ 2024-09-02 13:30 ` Andy Shevchenko
  2024-09-05 11:35   ` Linus Walleij
  2024-09-02 13:30 ` [PATCH v1 4/5] gpio: stmpe: Make use of device properties Andy Shevchenko
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Andy Shevchenko @ 2024-09-02 13:30 UTC (permalink / raw)
  To: Andy Shevchenko, linux-gpio, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Maxime Coquelin,
	Alexandre Torgue

We have a temporary variable to keep a pointer to struct device.
Utilise it where it makes sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-stmpe.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index 99f1482b2ab3..7f2911c478ea 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -464,17 +464,17 @@ static void stmpe_gpio_disable(void *stmpe)
 static int stmpe_gpio_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent);
-	struct device_node *np = pdev->dev.of_node;
+	struct stmpe *stmpe = dev_get_drvdata(dev->parent);
+	struct device_node *np = dev->of_node;
 	struct stmpe_gpio *stmpe_gpio;
 	int ret, irq;
 
 	if (stmpe->num_gpios > MAX_GPIOS) {
-		dev_err(&pdev->dev, "Need to increase maximum GPIO number\n");
+		dev_err(dev, "Need to increase maximum GPIO number\n");
 		return -EINVAL;
 	}
 
-	stmpe_gpio = devm_kzalloc(&pdev->dev, sizeof(*stmpe_gpio), GFP_KERNEL);
+	stmpe_gpio = devm_kzalloc(dev, sizeof(*stmpe_gpio), GFP_KERNEL);
 	if (!stmpe_gpio)
 		return -ENOMEM;
 
@@ -483,7 +483,7 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 	stmpe_gpio->stmpe = stmpe;
 	stmpe_gpio->chip = template_chip;
 	stmpe_gpio->chip.ngpio = stmpe->num_gpios;
-	stmpe_gpio->chip.parent = &pdev->dev;
+	stmpe_gpio->chip.parent = dev;
 	stmpe_gpio->chip.base = -1;
 
 	if (IS_ENABLED(CONFIG_DEBUG_FS))
@@ -496,7 +496,7 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 	if (ret)
 		return ret;
 
-	ret = devm_add_action_or_reset(&pdev->dev, stmpe_gpio_disable, stmpe);
+	ret = devm_add_action_or_reset(dev, stmpe_gpio_disable, stmpe);
 	if (ret)
 		return ret;
 
@@ -504,9 +504,8 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 	if (irq > 0) {
 		struct gpio_irq_chip *girq;
 
-		ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
-				stmpe_gpio_irq, IRQF_ONESHOT,
-				"stmpe-gpio", stmpe_gpio);
+		ret = devm_request_threaded_irq(dev, irq, NULL, stmpe_gpio_irq,
+						IRQF_ONESHOT, "stmpe-gpio", stmpe_gpio);
 		if (ret)
 			return dev_err_probe(dev, ret, "unable to register IRQ handler\n");
 
@@ -522,7 +521,7 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 		girq->init_valid_mask = stmpe_init_irq_valid_mask;
 	}
 
-	return devm_gpiochip_add_data(&pdev->dev, &stmpe_gpio->chip, stmpe_gpio);
+	return devm_gpiochip_add_data(dev, &stmpe_gpio->chip, stmpe_gpio);
 }
 
 static struct platform_driver stmpe_gpio_driver = {
-- 
2.43.0.rc1.1336.g36b5255a03ac


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

* [PATCH v1 4/5] gpio: stmpe: Make use of device properties
  2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
                   ` (2 preceding siblings ...)
  2024-09-02 13:30 ` [PATCH v1 3/5] gpio: stmpe: Utilise temporary variable for struct device Andy Shevchenko
@ 2024-09-02 13:30 ` Andy Shevchenko
  2024-09-05 11:35   ` Linus Walleij
  2024-09-02 13:30 ` [PATCH v1 5/5] gpio: stmpe: Sort headers Andy Shevchenko
  2024-09-04  7:03 ` [PATCH v1 0/5] gpio: stmpe: A few cleanups Bartosz Golaszewski
  5 siblings, 1 reply; 12+ messages in thread
From: Andy Shevchenko @ 2024-09-02 13:30 UTC (permalink / raw)
  To: Andy Shevchenko, linux-gpio, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Maxime Coquelin,
	Alexandre Torgue

Convert the module to be property provider agnostic and allow
it to be used on non-OF platforms.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-stmpe.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index 7f2911c478ea..c1fb06925e09 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -11,8 +11,8 @@
 #include <linux/slab.h>
 #include <linux/gpio/driver.h>
 #include <linux/interrupt.h>
-#include <linux/of.h>
 #include <linux/mfd/stmpe.h>
+#include <linux/property.h>
 #include <linux/seq_file.h>
 #include <linux/bitops.h>
 
@@ -465,7 +465,6 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct stmpe *stmpe = dev_get_drvdata(dev->parent);
-	struct device_node *np = dev->of_node;
 	struct stmpe_gpio *stmpe_gpio;
 	int ret, irq;
 
@@ -489,8 +488,7 @@ static int stmpe_gpio_probe(struct platform_device *pdev)
 	if (IS_ENABLED(CONFIG_DEBUG_FS))
                 stmpe_gpio->chip.dbg_show = stmpe_dbg_show;
 
-	of_property_read_u32(np, "st,norequest-mask",
-			&stmpe_gpio->norequest_mask);
+	device_property_read_u32(dev, "st,norequest-mask", &stmpe_gpio->norequest_mask);
 
 	ret = stmpe_enable(stmpe, STMPE_BLOCK_GPIO);
 	if (ret)
-- 
2.43.0.rc1.1336.g36b5255a03ac


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

* [PATCH v1 5/5] gpio: stmpe: Sort headers
  2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
                   ` (3 preceding siblings ...)
  2024-09-02 13:30 ` [PATCH v1 4/5] gpio: stmpe: Make use of device properties Andy Shevchenko
@ 2024-09-02 13:30 ` Andy Shevchenko
  2024-09-05 11:35   ` Linus Walleij
  2024-09-04  7:03 ` [PATCH v1 0/5] gpio: stmpe: A few cleanups Bartosz Golaszewski
  5 siblings, 1 reply; 12+ messages in thread
From: Andy Shevchenko @ 2024-09-02 13:30 UTC (permalink / raw)
  To: Andy Shevchenko, linux-gpio, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Maxime Coquelin,
	Alexandre Torgue

Sort the headers in alphabetic order in order to ease
the maintenance for this part.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-stmpe.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index c1fb06925e09..75a3633ceddb 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -5,16 +5,16 @@
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
 
+#include <linux/bitops.h>
 #include <linux/cleanup.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
 #include <linux/gpio/driver.h>
+#include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/mfd/stmpe.h>
 #include <linux/property.h>
+#include <linux/platform_device.h>
 #include <linux/seq_file.h>
-#include <linux/bitops.h>
+#include <linux/slab.h>
 
 /*
  * These registers are modified under the irq bus lock and cached to avoid
-- 
2.43.0.rc1.1336.g36b5255a03ac


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

* Re: [PATCH v1 0/5] gpio: stmpe: A few cleanups
  2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
                   ` (4 preceding siblings ...)
  2024-09-02 13:30 ` [PATCH v1 5/5] gpio: stmpe: Sort headers Andy Shevchenko
@ 2024-09-04  7:03 ` Bartosz Golaszewski
  5 siblings, 0 replies; 12+ messages in thread
From: Bartosz Golaszewski @ 2024-09-04  7:03 UTC (permalink / raw)
  To: linux-gpio, linux-stm32, linux-arm-kernel, linux-kernel,
	Andy Shevchenko
  Cc: Bartosz Golaszewski, Linus Walleij, Bartosz Golaszewski,
	Maxime Coquelin, Alexandre Torgue

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Mon, 02 Sep 2024 16:30:39 +0300, Andy Shevchenko wrote:
> A few ad-hoc cleanups inducted by the recent patch that made
> an (insignificant) typo in one message.
> 
> Andy Shevchenko (5):
>   gpio: stmpe: Fix IRQ related error messages
>   gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio
>   gpio: stmpe: Utilise temporary variable for struct device
>   gpio: stmpe: Make use of device properties
>   gpio: stmpe: Sort headers
> 
> [...]

Applied, thanks!

[1/5] gpio: stmpe: Fix IRQ related error messages
      commit: a794331325f143bd010a91aa078547fee7fe907e
[2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio
      commit: c028e1c5a414f03cd849912073db7c1927ec8d89
[3/5] gpio: stmpe: Utilise temporary variable for struct device
      commit: 56f534dde6ff41eaf71f4e368953cb8da54cecc3
[4/5] gpio: stmpe: Make use of device properties
      commit: e6815a05c0c909c8d6396bf41d0c06bc967f37bc
[5/5] gpio: stmpe: Sort headers
      commit: 9f0127b9cea593a661004df948dc0b4479081c2e

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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

* Re: [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages
  2024-09-02 13:30 ` [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages Andy Shevchenko
@ 2024-09-05 11:33   ` Linus Walleij
  0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2024-09-05 11:33 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-gpio, linux-stm32, linux-arm-kernel, linux-kernel,
	Bartosz Golaszewski, Maxime Coquelin, Alexandre Torgue

On Mon, Sep 2, 2024 at 3:32 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> First of all, remove duplicate message that platform_get_irq()
> does already print. Second, correct the error message when unable
> to register a handler, which is broken in two ways:
> 1) the misleading 'get' vs. 'register';
> 2) missing '\n' at the end.
>
> (Yes, for the curious ones, the dev_*() cases do not require '\n'
> and issue it automatically, but it's better to have them explicit)
>
> Fix all this here.
>
> Fixes: 1882e769362b ("gpio: stmpe: Simplify with dev_err_probe()")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH v1 2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio
  2024-09-02 13:30 ` [PATCH v1 2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio Andy Shevchenko
@ 2024-09-05 11:34   ` Linus Walleij
  0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2024-09-05 11:34 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-gpio, linux-stm32, linux-arm-kernel, linux-kernel,
	Bartosz Golaszewski, Maxime Coquelin, Alexandre Torgue

On Mon, Sep 2, 2024 at 3:32 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> There is no evidence that the 'dev' member of struct stmpe_gpio
> is used, drop it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH v1 3/5] gpio: stmpe: Utilise temporary variable for struct device
  2024-09-02 13:30 ` [PATCH v1 3/5] gpio: stmpe: Utilise temporary variable for struct device Andy Shevchenko
@ 2024-09-05 11:35   ` Linus Walleij
  0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2024-09-05 11:35 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-gpio, linux-stm32, linux-arm-kernel, linux-kernel,
	Bartosz Golaszewski, Maxime Coquelin, Alexandre Torgue

On Mon, Sep 2, 2024 at 3:32 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> We have a temporary variable to keep a pointer to struct device.
> Utilise it where it makes sense.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH v1 4/5] gpio: stmpe: Make use of device properties
  2024-09-02 13:30 ` [PATCH v1 4/5] gpio: stmpe: Make use of device properties Andy Shevchenko
@ 2024-09-05 11:35   ` Linus Walleij
  0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2024-09-05 11:35 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-gpio, linux-stm32, linux-arm-kernel, linux-kernel,
	Bartosz Golaszewski, Maxime Coquelin, Alexandre Torgue

On Mon, Sep 2, 2024 at 3:32 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Convert the module to be property provider agnostic and allow
> it to be used on non-OF platforms.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH v1 5/5] gpio: stmpe: Sort headers
  2024-09-02 13:30 ` [PATCH v1 5/5] gpio: stmpe: Sort headers Andy Shevchenko
@ 2024-09-05 11:35   ` Linus Walleij
  0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2024-09-05 11:35 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-gpio, linux-stm32, linux-arm-kernel, linux-kernel,
	Bartosz Golaszewski, Maxime Coquelin, Alexandre Torgue

On Mon, Sep 2, 2024 at 3:32 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Sort the headers in alphabetic order in order to ease
> the maintenance for this part.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

end of thread, other threads:[~2024-09-05 11:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 13:30 [PATCH v1 0/5] gpio: stmpe: A few cleanups Andy Shevchenko
2024-09-02 13:30 ` [PATCH v1 1/5] gpio: stmpe: Fix IRQ related error messages Andy Shevchenko
2024-09-05 11:33   ` Linus Walleij
2024-09-02 13:30 ` [PATCH v1 2/5] gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio Andy Shevchenko
2024-09-05 11:34   ` Linus Walleij
2024-09-02 13:30 ` [PATCH v1 3/5] gpio: stmpe: Utilise temporary variable for struct device Andy Shevchenko
2024-09-05 11:35   ` Linus Walleij
2024-09-02 13:30 ` [PATCH v1 4/5] gpio: stmpe: Make use of device properties Andy Shevchenko
2024-09-05 11:35   ` Linus Walleij
2024-09-02 13:30 ` [PATCH v1 5/5] gpio: stmpe: Sort headers Andy Shevchenko
2024-09-05 11:35   ` Linus Walleij
2024-09-04  7:03 ` [PATCH v1 0/5] gpio: stmpe: A few cleanups Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).