On Wed, Nov 04, 2009 at 08:15:02PM +0530, Gadiyar, Anand wrote:

> So, if a board does not need a regulator at all, then the APIs do nothing?

If the kernel is built without regulator API support then the get,
release, enable and disable functions are stubbed out to always report
success.  If the kernel has been built with regulator support then
generally a fixed voltage regulator should be defined by the board.  The
expectation is that if the regulator API is of no use on a board since
there are no regulators set up then it'll be disabled in Kconfig.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to