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

Sascha linux-arm s.hauer at pengutronix.de
Fri Dec 11 07:44:52 EST 2009


On Thu, Dec 10, 2009 at 07:10:17PM +0000, Mark Brown wrote:
> 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.

And please define it like

#define mV_to_uV(mV) ((mV) * 1000)

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list