Re: [PATCH v2] mfd: cros_ec_dev: Only register PCHG device if present
From: Stephen Boyd
Date: Tue Apr 19 2022 - 10:56:01 EST
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.