Re: [PATCH] gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Antony.

On Wed, Aug 02, 2017 at 10:03:56AM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
> Cc: Alexander Shiyan <shc_work@xxxxxxx>
> ---
>  drivers/gpio/gpio-clps711x.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c
> index d71c606690..e97f468e82 100644
> --- a/drivers/gpio/gpio-clps711x.c
> +++ b/drivers/gpio/gpio-clps711x.c
> @@ -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
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux