gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry
PATCH 1/1 gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry
--- drivers/gpio/gpio-clps711x.c | 3 +++ 1 file changed, 3 insertions(+)
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 */ + } };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
Hi Antony.
Quoted 11 lines · Antony Pavlov
Signed-off-by Antony Pavlov <[email protected]>Cc Alexander Shiyan <[email protected]>--- drivers/gpio/gpio-clps711x.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpio/gpio-clps711x.c +0
-0
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
PATCH v2 1/1 gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry
---
Changes since v1:
* change formatting
drivers/gpio/gpio-clps711x.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-clps711x.c +1 -0
@@ -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
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
Signed-off-by Antony Pavlov <[email protected]>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@@ -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
Sascha Hauer
AppliedQuoted 10 lines · Antony Pavlov
Signed-off-by Antony Pavlov <[email protected]>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@@ -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