2010-12-21 23:30:10

by Mark Brown

[permalink] [raw]
Subject: [PATCH] regulator: Make regulator_has_full_constraints a bool

It's a boolean value so use the type.

Signed-off-by: Mark Brown <[email protected]>
---
drivers/regulator/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 911b774..6066a8f 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;

/*
--
1.5.4.3


2010-12-22 22:26:09

by Liam Girdwood

[permalink] [raw]
Subject: Re: [PATCH] regulator: Make regulator_has_full_constraints a bool

On Tue, 2010-12-21 at 23:30 +0000, Mark Brown wrote:
> It's a boolean value so use the type.
>
> Signed-off-by: Mark Brown <[email protected]>
> ---
> drivers/regulator/core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Thanks

Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk