Re: [PATCH] regulator: fixed: fix regulator_list_voltage() for regression

From: Laxman Dewangan
Date: Wed Nov 13 2013 - 06:40:13 EST


On Wednesday 13 November 2013 05:03 PM, Guennadi Liakhovetski wrote:
Commit c368e5fc2a190923b786f2de3e79430ea3566a25 "regulator: fixed:
get rid of {get|list}_voltage()" broke regulator_list_voltage() for
the fixed regulator, because an earlier commit
5a523605afa7d3b54b2e7041f8c9e6bc39872a7e "regulator: core: provide
fixed voltage in desc for single voltage rail" missed to add support
for the fixed-voltage special case to that function. This patch
fixes that regression.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
---

I tested the regulator_get_voltage() API only, not other APIs which uses regulator_list_voltage().
I think this patch is fine.

Acked-by: Laxman Dewangan <ldewangan@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/