mmc: omap_hsmmc: Don't expect MMC1 to always have vmmc supply
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:02 +0000 (12:20 -0400)
commite3f1adb63cfa6f6ef6b4e63a546e13210c5f3cb2
tree36b450fb8a6e6ca116274aef7b4a5e008fb05bd0
parent1cb9af49a1ba2d7fc1c7236df5513449dda30a12
mmc: omap_hsmmc: Don't expect MMC1 to always have vmmc supply

MMC1 is not the only instance that can be used/wired for SD.
So remove this assumption from the driver.

Now that all the mmc id based usage is removed, get rid of all the DEVID
defines and also the 'id' field from the omap_hsmmc_host structure.

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