[PATCH 4/4] MXC: imx31pdk: Trying to enabling regulators on mc13783

Liam Girdwood lrg at slimlogic.co.uk
Thu Dec 10 14:39:25 EST 2009


On Thu, 2009-12-10 at 20:27 +0100, Alberto Panizzo wrote:
> Il giorno gio, 10/12/2009 alle 19.10 +0000, Mark Brown ha scritto:
> > On Thu, Dec 10, 2009 at 07:56:44PM +0100, Alberto Panizzo wrote:
> > 
> > > +/* MC13783 */
> > > +#define mV_to_uV(mV) (mV * 1000)
> > 
> > Define this somewhere global, it's generally useful.
> 
> Yes, maybe in include/linux/mfd/mc13783.h 
> 

This is actually quite useful to other drivers too as most seem to work
in mV. What about in regulator/driver.h 

Thanks

Liam






More information about the linux-arm-kernel mailing list