On Wed, May 11, 2011 at 12:19:05PM +0200, Antonio Ospite wrote: > Don't wrap regulator_get() inside an ifdef CONFIG_REGULATOR anymore, as > now it degenerates and returns NULL when the regulator framework is > disabled (since commit be1a50d: regulator: Let drivers know when they > use the stub API); and use IS_ERR_OR_NULL() to handle the stub function > correctly. > > Signed-off-by: Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> Reviewed-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html