Re: [PATCH RFC] regulator: mc13xxx: Populate selector frommc13xxx_fixed_regulator_set_voltage

From: Mark Brown
Date: Fri Jul 13 2012 - 12:34:46 EST


On Fri, Jul 13, 2012 at 11:01:14PM +0800, Axel Lin wrote:

> Not very sure if we should implement set_voltage callback for fixed voltage.
> ( Other drivers do not implement set_voltage callback for fixed voltage.
> Since the voltage is fixed, implement set_voltage callback seems does not make sense.)

We shouldn't normally implement it. The fixed voltage driver does so
because it reuses the existing set voltage device tree binding to
specify the voltage it provides but I'd not expect other drivers to need
to do this.

Attachment: signature.asc
Description: Digital signature