Skip to contentSkip to conversation

regulator: Make regulator_has_full_constraints a bool

PATCH Applied Mark Brown 2 participants 2 messages Dec 21, 2010 – Dec 22, 2010 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: Make regulator_has_full_constraints a bool

It's a boolean value so use the type.

---
 drivers/regulator/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/core.c +1 -1
index 911b774..6066a8f 100644
@@ -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;
 
 /*
Signature · 1 line
1.5.4.3
#1 lore raw
Quoted 6 lines · Mark Brown

It's a boolean value so use the type.

---
 drivers/regulator/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Thanks

Liam

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk