Re: [PATCH] regulator: Allow consumer supplies to be set up withdev_name()

From: Mark Brown
Date: Thu Jun 18 2009 - 07:01:21 EST


On Thu, Jun 18, 2009 at 11:54:03AM +0100, Liam Girdwood wrote:
> On Wed, 2009-06-17 at 17:56 +0100, Mark Brown wrote:

> > In order to avoid making existing machines instabuggy and creating merge
> > issues the use of struct device is still supported for the time being.

> We should probably mark this as deprecated in the docs.

Yeah, probably. I was swithering a bit since while obviously it doesn't
work so well for things like I2C when you do have the struct device
there it's pretty convenient to use it, but having both ways to specify
it makes things more confusing than they need to be.
--
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/