When regulator_get() is stubbed down it returns NULL, handle this case
when deciding whether the driver can use the regulator or not.
Remember: IS_ERR(NULL) is false, see also this discussion for more
insight: http://comments.gmane.org/gmane.linux.kernel.mmc/7934
Now that regulator_get() is
Hi Antonio, thanks for doing this,
On Wed, May 18 2011, Antonio Ospite wrote:
When regulator_get() is stubbed down it returns NULL, handle this case
when deciding whether the driver can use the regulator or not.
Remember: IS_ERR(NULL) is false, see also this discussion for more
insight: