[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOh2x=kESONsBL0bPBP9mnEhH3vEj55H=Gsc-e6ege_AWmzucg@mail.gmail.com>
Date: Tue, 27 Sep 2016 15:02:20 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Chase Metzger <chasemetzger15@...il.com>
Cc: rmfrfs@...il.com, Johan Hovold <johan@...nel.org>,
Alex Elder <elder@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drivers/staging/greybus: gpio.c - Fixed a checkpatch
generated warning
On Mon, Sep 26, 2016 at 2:05 AM, Chase Metzger <chasemetzger15@...il.com> wrote:
> Removed braces for single line if statement.
>
> Signed-off-by: Chase Metzger <chasemetzger15@...il.com>
> ---
> drivers/staging/greybus/gpio.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
> index ea8234a..5e06e42 100644
> --- a/drivers/staging/greybus/gpio.c
> +++ b/drivers/staging/greybus/gpio.c
> @@ -561,9 +561,8 @@ static void gb_gpio_irqchip_remove(struct gb_gpio_controller *ggc)
> irq_domain_remove(ggc->irqdomain);
> }
>
> - if (ggc->irqchip) {
> + if (ggc->irqchip)
> ggc->irqchip = NULL;
> - }
> }
>
> /**
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
Powered by blists - more mailing lists