Re: [PATCH 1/7] regulator: qcom-labibb: Implement voltage selector ops

From: Mark Brown
Date: Mon Jan 11 2021 - 08:24:02 EST


On Sat, Jan 09, 2021 at 02:29:15PM +0100, AngeloGioacchino Del Regno wrote:

> + .linear_ranges = (struct linear_range[]) {
> + REGULATOR_LINEAR_RANGE(4600000, 0, 15, 100000),
> + },
> + .n_linear_ranges = 1,

If there's a single range that's just a simple linear mapping and should
use regulator_map_voltage_linear().

Attachment: signature.asc
Description: PGP signature