Re: [PATCH 08/12] mfd: vexpress-sysreg: Add syscon labels as platform data

From: Lee Jones
Date: Tue Feb 11 2014 - 12:48:51 EST


On Tue, 11 Feb 2014, Pawel Moll wrote:

> On Tue, 2014-02-11 at 17:29 +0000, Lee Jones wrote:
> > There must be better
> > ways of passing a name than through pdata, and if there isn't I'd
> > suggest setting up a sysconf pdata struct that others can use in case
> > they wish to expand the functionality further in some other
> > unfathomable way. :)
>
> ... which I proposed in the previous patch :-)
>
> > Alternatively I could define a syscon platform data structure,
> > something like this:
> >
> > struct syscon_platform_data {
> > const char *label;
> > };

So you did.

Yes, this would be the lesser of the two evils.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/