[PATCH] gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry
Sam Ravnborg
sam at ravnborg.org
Wed Aug 2 05:25:12 PDT 2017
Hi Antony.
On Wed, Aug 02, 2017 at 10:03:56AM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> Cc: Alexander Shiyan <shc_work at mail.ru>
> ---
> 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
More information about the barebox
mailing list