mmc: omap_hsmmc: Get rid of omap_hsmmc_4_set_power function
authorRajendra Nayak <rnayak@ti.com>
Wed, 7 Mar 2012 14:55:31 +0000 (09:55 -0500)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:01 +0000 (12:20 -0400)
commit1cb9af49a1ba2d7fc1c7236df5513449dda30a12
treed657d936c1ab37c0adb5c9308498100b3105c5cd
parent69b07ecee936c49f8b7a2099b4276fec7dff6827
mmc: omap_hsmmc: Get rid of omap_hsmmc_4_set_power function

Now that omap_hsmmc_set_power() already has a check to return 0
if !host->vcc, it seems like it can be used even on MMC4 instead
of the dummy omap_hsmmc_4_set_power().

This also helps get rid of all the host->id based check to
populate the right function for on-chip/external level
shifting and use omap_hsmmc_set_power() for all MMC modules.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Tested-by: Venkatraman S <svenkatr@ti.com>
Tested-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c