Re: [PATCH 1/2] regulator: lp3971: Convert to get_voltage_sel

From: Mark Brown
Date: Mon Dec 24 2012 - 11:27:15 EST


On Mon, Dec 10, 2012 at 07:46:52PM +0800, Axel Lin wrote:
> regulator_list_voltage_table() returns -EINVAL if selector >= n_voltages.
> Thus we don't need to check if reg is greater than BUCK_TARGET_VOL_MAX_IDX in
> lp3971_dcdc_get_voltage_sel.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature