Messages in this thread | | | Date | Fri, 10 Aug 2012 11:05:47 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 1/6] regulator: core: Add checking n_voltages if using list_voltage() to read voltage regulators |
| |
On Fri, Aug 10, 2012 at 09:32:33AM +0800, Axel Lin wrote: > Use list_voltage() to read single voltage regulators should be only applied to > single voltage regulators, thus add checking n_voltages for this case.
We should be failing to register these regulators in the first place, or at least complaining extremely loudly about them.
| |