Re: [PATCH v1 1/1] gpio: mlxbf2.c: Add check for bgpio_init failure

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

 



On Mon, Oct 25, 2021 at 11:15 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> On Fri, Oct 22, 2021 at 3:44 PM Asmaa Mnebhi <asmaa@xxxxxxxxxx> wrote:

A nit-pick that may be ignored...

> >                         NULL,
> >                         0);
> >
> > +       if (ret) {
> > +               dev_err(dev, "bgpio_init failed\n");
> > +               return ret;
> > +       }

> > +

...can we utilize an empty line before if (ret) { instead?

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux