]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28975d11a0f874919814d6cfe65a2ad7d8c6ef7b
tree8c23d185a7d91d18e7eba0fd5d98301f6da23356
parenta06beb7cf5faa6213f768459e6a9540e578876d6
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