Re: platform/i2c busses: pm runtime and system sleep

From: Rafael J. Wysocki
Date: Tue Dec 21 2010 - 19:36:41 EST


On Wednesday, December 22, 2010, Mark Brown wrote:
> On Mon, Dec 20, 2010 at 10:13:53PM +0100, Rafael J. Wysocki wrote:
>
> > Well, the _solution_ is to get rid of the legacy stuff from those buses in the
> > first place. Then, they'll just need to use the generic ops without any
> > trouble.
>
> > What you're proposing is a workaround that people will use as an excuse for
> > not doing the right thing forever.
>
> I hadn't actually realised that there was any urgency about removing the
> old APIs - I'd not really seen much work in that direction. If the
> intention is to actively push people over to dev_pm_ops that does make a
> bit more sense.

There's no urgency strictly speaking, but there's a preference. :-)

I think it probably is the time to actually start pushing people into that,
because the legacy stuff has been causing too much pain recently.

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/