Messages in this thread | | | Date | Thu, 09 Aug 2012 09:22:55 -0600 | From | Stephen Warren <> | Subject | Re: [PATCH V2 2/3] regulator: add regulator_get_voltage_fixed helper op |
| |
On 08/09/2012 04:59 AM, Mark Brown wrote: > On Wed, Aug 08, 2012 at 03:18:46PM -0600, Stephen Warren wrote: > >> Fixed regulators always output desc->min_uV. Add a helper get_voltage >> op to save duplicating this code in drivers. > > Just use get_voltage_linear() (or convert the existing users).
I don't think there's a *get*_voltage_linear. All the existing get_voltage "standard" ops require reading a register, hence why I added this new standard op. I guess I'll look at converting all the existing users.
| |