Re: [PATCH RFT 1/2] regulator: anatop: Use linear_min_sel with linearmapping

From: Ying-Chun Liu (PaulLiu)
Date: Sun Dec 09 2012 - 00:37:12 EST


æ 2012å12æ09æ 08:05, Axel Lin æå:
> By setting linear_min_sel to anatop_reg->min_bit_val, we can avoid
> adjust the anatop_reg->min_bit_val offset in [set|get]_voltage_sel.
>
> With this chance we can refactor this driver to use
> regulator_[get|set]_voltage_sel_regmap.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
Reviewed-by: Ying-Chun Liu <paulliu@xxxxxxxxxx>

Looks good to me and I just test the path and it works.


--
PaulLiu (åçé)
E-mail: Ying-Chun Liu (PaulLiu) <paulliu@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/