regulator: Make regulator_has_full_constraints a bool
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Dec 2010 23:30:07 +0000 (23:30 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:05 +0000 (14:33 +0000)
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>
drivers/regulator/core.c

index 911b774c745c4837caf47a3c3585cd76a87240f6..6066a8f2d5bbded422aaaaaa6c032b419a9774e7 100644 (file)
@@ -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;
 
 /*