mmc: omap_hsmmc: Get rid of omap_hsmmc_1_set_power function
authorRajendra Nayak <rnayak@ti.com>
Wed, 7 Mar 2012 14:55:30 +0000 (09:55 -0500)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:00 +0000 (12:20 -0400)
commit69b07ecee936c49f8b7a2099b4276fec7dff6827
tree06f7a4a689fd52243579e40b3391526e9277d3eb
parentc2200efb5d7ca7922e5b9e430598473941d5eb0b
mmc: omap_hsmmc: Get rid of omap_hsmmc_1_set_power function

Use omap_hsmmc_235_set_poweri() (now renamed as omap_hsmmc_set_power())
for MMC1 instance as well and get rid of omap_hsmmc_1_set_power()
completely.

omap_hsmmc_235_set_power() seems to be implemented as a superset of
omap_hsmmc_1_set_power() with additional functionality implemented
based on additional checks and hence should just work for MMC1
as well.

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