Skip to contentSkip to conversation

gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

PATCH Superseded Antony Pavlov 3 participants 5 messages Aug 2, 2017 – Sep 6, 2017 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

Cc Alexander Shiyan <[email protected]>
---
 drivers/gpio/gpio-clps711x.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpio/gpio-clps711x.c +3 -0
index d71c606690..e97f468e82 100644
@@ -74,6 +74,9 @@ out_err:
 
 static struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = {
 	{ .compatible = "cirrus,clps711x-gpio", },
+	{
+		/* sentinel */
+	}
 };
 
 static struct driver_d clps711x_gpio_driver = {
Signature · 7 lines
2.13.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

Hi Antony.

Quoted 11 lines · Antony Pavlov
Cc Alexander Shiyan <[email protected]>
---
 drivers/gpio/gpio-clps711x.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpio/gpio-clps711x.c +0 -0
index d71c606690..e97f468e82 100644

drivers/gpio/gpio-clps711x.c out_err: · line 79

Quoted 6 lines
drivers/gpio/gpio-clps711x.c +3 -0
@@ -74,6 +74,9 @@ out_err:
 
 static struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = {
 	{ .compatible = "cirrus,clps711x-gpio", },
+	{
+		/* sentinel */
+	}

nitpick.

Please follow the style of the line above - so like this:

	{ /* sentinel */ },
};

Sam

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#2 lore raw

PATCH v2 1/1 gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

Cc Alexander Shiyan <[email protected]>

---

Changes since v1:

* change formatting

 drivers/gpio/gpio-clps711x.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-clps711x.c +1 -0
index d71c606690..769e6ca4f7 100644
@@ -74,6 +74,7 @@ out_err:
 
 static struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = {
 	{ .compatible = "cirrus,clps711x-gpio", },
+	{ /* sentinel */ }
 };
 
 static struct driver_d clps711x_gpio_driver = {
Signature · 7 lines
2.13.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

On Fri, 4 Aug 2017 16:10:45 +0300
Antony Pavlov <[email protected]> wrote:

I can't find this patch neither in the master branch nor in the next branch of the pengutronix public repo.

Please apply it!

Quoted 26 lines
Cc Alexander Shiyan <[email protected]>

---

Changes since v1:

* change formatting

 drivers/gpio/gpio-clps711x.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-clps711x.c +1 -0
index d71c606690..769e6ca4f7 100644
@@ -74,6 +74,7 @@ out_err:
 
 static struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = {
 	{ .compatible = "cirrus,clps711x-gpio", },
+	{ /* sentinel */ }
 };
 
 static struct driver_d clps711x_gpio_driver = {
Signature · 1 line
2.13.3
Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#4 lore raw
In reply to Antony Pavlov
Quoted 10 lines · Antony Pavlov
Cc Alexander Shiyan <[email protected]>

---

Changes since v1:

* change formatting

 drivers/gpio/gpio-clps711x.c | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks

Sascha

Quoted 17 lines
drivers/gpio/gpio-clps711x.c +1 -0
index d71c606690..769e6ca4f7 100644
@@ -74,6 +74,7 @@ out_err:
 
 static struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = {
 	{ .compatible = "cirrus,clps711x-gpio", },
+	{ /* sentinel */ }
 };
 
 static struct driver_d clps711x_gpio_driver = {
Signature · 1 line
2.13.3
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox