[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACeCKac83uiwdAf2RWqc9DxEft2+BSBn5Kp5PMR23UGKJyk5KQ@mail.gmail.com>
Date: Tue, 19 Apr 2022 07:58:46 -0700
From: Prashant Malani <pmalani@...omium.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Lee Jones <lee.jones@...aro.org>, linux-kernel@...r.kernel.org,
patches@...ts.linux.dev, Tzung-Bi Shih <tzungbi@...nel.org>,
Daisuke Nojiri <dnojiri@...omium.org>,
Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
chrome-platform@...ts.linux.dev
Subject: Re: [PATCH v2] mfd: cros_ec_dev: Only register PCHG device if present
On Tue, Apr 19, 2022 at 7:55 AM Stephen Boyd <swboyd@...omium.org> wrote:
>
> Quoting Prashant Malani (2022-04-18 17:22:19)
> > On Apr 18 17:04, Stephen Boyd wrote:
> > > + retval = mfd_add_hotplug_devices(ec->dev,
> > > + cros_ec_pchg_cells,
> > > + ARRAY_SIZE(cros_ec_pchg_cells));
> > > + if (retval)
> > > + dev_warn(ec->dev, "failed to add pchg: %d\n",
> > > + retval);
> > Tiny nit: Can this fit in 1 line (100 chars[1])?
> >
>
> I'm matching the style of other lines in this file (this is copy
> pasta). I'll let the maintainer decide what to do.
Quite a bit of that code predates the char limit update, but OK.
Powered by blists - more mailing lists