ARM: pxa: Use REGULATOR_SUPPLY macro
Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Eric Miao <eric.y.miao@gmail.com> Tested-by: Paul Parsons <lost.distance@yahoo.com> Acked-by: Philipp Zabel <philipp.zabel@gmail.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Marek Vasut <marek.vasut@gmail.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
This commit is contained in:
@@ -579,12 +579,8 @@ static struct platform_device power_supply = {
|
||||
*/
|
||||
|
||||
static struct regulator_consumer_supply bq24022_consumers[] = {
|
||||
{
|
||||
.supply = "vbus_draw",
|
||||
},
|
||||
{
|
||||
.supply = "ac_draw",
|
||||
},
|
||||
REGULATOR_SUPPLY("vbus_draw", NULL),
|
||||
REGULATOR_SUPPLY("ac_draw", NULL),
|
||||
};
|
||||
|
||||
static struct regulator_init_data bq24022_init_data = {
|
||||
|
Reference in New Issue
Block a user