On 07/30/2014 11:51 AM, Angelo Compagnucci wrote:
Hello List,
I wasted a little bit of my time this morning understanding why the
regulator I used in my device tree wasn't working, only to discover
later that the regulator support was not enabled in my config.
I think that all the drivers that use a regulator should depend on the
CONFIG_REGULATOR.
Is there a reason why any driver has "depends on REGULATOR" in their
Kconfig entry?
Thank you for your time!
Hi,
A lot of drivers work just fine without regulator support enabled. When
disabled the regulator API stubs itself out with dummy function that always
succeed.
- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html