Re: [RFC][PATCH] Power domains for platform bus type

From: Rafael J. Wysocki
Date: Tue Feb 01 2011 - 13:40:20 EST


On Tuesday, February 01, 2011, Kevin Hilman wrote:
> "Rafael J. Wysocki" <rjw@xxxxxxx> writes:
>
> [...]
>
> > Also, I'm going to move the power domain hook to the struct device level, so
> > that we have:
> >
> > struct device {
> > ...
> > struct power_domain *domain;
> > ...
> > };
> >
> > struct power_domain {
> > struct dev_pm_ops ops;
> > };
> >
>
> Great, thanks.
>
> Any opinion on my idea to name this 'struct dev_power_domain' to avoid
> confusion with existing powerdomain structs in SoC code? For example,
> on OMAP we already have a 'struct powerdomain'.

Fine by me.

Thanks,
Rafael
--
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/