Re: [PATCH 2/2] regulator: lp3972: Convert to get_voltage_sel

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


On Mon, Dec 10, 2012 at 07:50:12PM +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 LP3972_BUCK_VOL_MAX_IDX in
> lp3972_dcdc_get_voltage_sel.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature