summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-21 23:30:07 +0000
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-01-12 14:33:05 +0000
commit21cf891a47ff5e7bd77fdc524a25072c447d56bb (patch)
tree9a0c1760ee2c099e569197109f270489ead0a5aa /drivers/regulator/core.c
parent13ce29f80fe3f61d3865b90244b1d1430f553e9f (diff)
downloadblackbird-op-linux-21cf891a47ff5e7bd77fdc524a25072c447d56bb.tar.gz
blackbird-op-linux-21cf891a47ff5e7bd77fdc524a25072c447d56bb.zip
regulator: Make regulator_has_full_constraints a bool
It's a boolean value so use the type. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 911b774c745c..6066a8f2d5bb 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -44,7 +44,7 @@
static DEFINE_MUTEX(regulator_list_mutex);
static LIST_HEAD(regulator_list);
static LIST_HEAD(regulator_map_list);
-static int has_full_constraints;
+static bool has_full_constraints;
static bool board_wants_dummy_regulator;
/*
OpenPOWER on IntegriCloud