]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: Don't warn user about expected behaviour in mmc-twl4030
authorMark Brown <broonie@sirena.org.uk>
Tue, 7 Apr 2009 22:37:37 +0000 (15:37 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 7 Apr 2009 22:37:37 +0000 (15:37 -0700)
The approach that's being taken by the mmc-twl4030 driver to disabling
regulators is a normal and supported one so there is no need to print
messages on the console warning about this - their system is functioning
normally.

Signed-off-by: Mark Brown <broonie@sirena.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mmc-twl4030.c

index cb56fe270abd89710375ff77e51a92b24fa3c5d0..46d6e9bcadfa5c495a9c9ab026b0a260bf922cb1 100644 (file)
@@ -136,14 +136,11 @@ static int twl_mmc_late_init(struct device *dev)
                         * (which is safe for MMC, but not in general).
                         */
                        if (regulator_is_enabled(hsmmc[i].vcc) > 0) {
-                               dev_warn(dev, "APPLY REGULATOR HACK for vmmc\n");
                                regulator_enable(hsmmc[i].vcc);
                                regulator_disable(hsmmc[i].vcc);
                        }
                        if (hsmmc[i].vcc_aux) {
                                if (regulator_is_enabled(reg) > 0) {
-                                       dev_warn(dev, "APPLY REGULATOR HACK "
-                                               "for vmmc_aux\n");
                                        regulator_enable(reg);
                                        regulator_disable(reg);
                                }