Re: [PATCH 1/3 V3] mmc:core: parse voltage from device-tree

2013-08-09 Thread Anton Vorontsov
On Fri, Aug 09, 2013 at 11:11:01AM +0800, Haijun Zhang wrote: Add function to support get voltage from device-tree. If there are voltage-range specified in device-tree node, this function will parse it and return the available voltage mask. Signed-off-by: Haijun Zhang

[PATCH 1/3 V3] mmc:core: parse voltage from device-tree

2013-08-08 Thread Haijun Zhang
Add function to support get voltage from device-tree. If there are voltage-range specified in device-tree node, this function will parse it and return the available voltage mask. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - Correct the type of return value.