Re: [PATCH 1/2] regulator: support for regulator match byregulator-compatible

From: Mark Brown
Date: Tue Jun 19 2012 - 08:18:16 EST


On Tue, Jun 19, 2012 at 05:36:09PM +0530, Laxman Dewangan wrote:

> Just thinking on optimizing the changes require, we can do it in 3
> patches only:
> - In place of adding new api of_regulator_match_by_compatible(), we
> can modify the existing of_regulator_match() itself to look for
> regulator-compatible for matching. This can be done in first patch.
> - Need not to change the .c files, here just change the
> documentation of these regulator dt binding. All can be done in
> second patch.
> - Change the dts file to have this policy and seeing only on
> arm/boot/dts/db8500.dtsi for ab8500 and db8500-prcmu. So it will be
> third patch .

This seems fine.

Attachment: signature.asc
Description: Digital signature