Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

Lee Jones
2015-07-28T15:00:35Z

On Tue, 28 Jul 2015, Matt Fleming wrote:
> On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote:
> >
> > The driver shouldn't be called that either.
> >
> > You are the only one. What makes iTCO 'special'?
>
> I don't know, I didn't write it. It looks like Wim did ~9 years ago, so
> it must have made sense to him at the time.
>
> > > > > + info = &lpc_chipset_info[priv->chipset];
> > > > > +
> > > > > + pdata->iTCO_version = info->iTCO_version;
> > > >
> > > > Lowercase please.
> > >
> > > Hmm... but then this line will read,
> > >
> > > pdata->itco_version = info->iTCO_version;
> > >
> > > I'm not sure that's an improvement.
> >
> > Please consider making all of the variable names conform to the
> > coding standards we normally abide by. You can submit it either as
> > patch 1 of this set, or independently.
>
> Right, I figured we were fast approaching this rabit hole.

No rabbit hole, just some fixups. If it takes you any more than 10
mins, I'd be surprised.

Let me know if you think it'll be too much trouble and I'll do the
fixups myself.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog