Re: [RFC 2/5] regulator: core: Allow to get voltage count and list from parent

From: Mark Brown
Date: Tue Jul 29 2014 - 14:25:46 EST


On Tue, Jul 29, 2014 at 06:28:56PM +0200, Javier Martinez Canillas wrote:
> Load switches are modeled as regulators but they just provide
> the voltage of their parent input supply. So, the drivers for
> these switches usually neither provide a .list_voltage handler
> not set a .n_voltages count. But there is code in the kernel
> that assumes that all regulators should be able to provide this
> information (e.g: cpufreq and mmc subsystems).

Applied, thanks.

Attachment: signature.asc
Description: Digital signature