pxamci: add regulator support.
authorDaniel Ribeiro <drwyrm@gmail.com>
Thu, 21 May 2009 11:54:18 +0000 (08:54 -0300)
committerPierre Ossman <pierre@ossman.eu>
Sat, 13 Jun 2009 20:42:57 +0000 (22:42 +0200)
commit8385f9cb7f12ef6a5261fa76f1a1b612280c94f7
tree8c23d185a7d91d18e7eba0fd5d98301f6da23356
parent8dfd0374be84793360db7fff2e635d2cd3bbcb21
pxamci: add regulator support.

Changes pxamci.c to use the regulator subsystem. Uses the regulator case
CONFIG_REGULATOR is defined and a matching is regulator is provided, or
falls back to pdata->setpower otherwise. A warning is displayed case
both a valid regulator and pdata is set, and the regulator is used.

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/pxamci.c