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

From: Mark Brown
Date: Tue Jun 19 2012 - 05:32:11 EST


On Tue, Jun 19, 2012 at 11:21:26AM +0530, Laxman Dewangan wrote:
> Add API to match the chip regulator's id by the
> property of "regulator-compatible" on regulator node.

We shouldn't have two different methods for doing this, we should
standardise this over all regulator drivers (or at the very least those
using the existing framework code) - having the old framework in place
will at best be confusing for authors of new drivers. We either need to
make it clear which framework to use or (ideally) remove the old
framework.

Attachment: signature.asc
Description: Digital signature