[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1467597925-10490-1-git-send-email-bhe@redhat.com>
Date: Mon, 4 Jul 2016 10:05:25 +0800
From: Baoquan He <bhe@...hat.com>
To: lgirdwood@...il.com, broonie@...nel.org
Cc: linux-kernel@...r.kernel.org, Baoquan He <bhe@...hat.com>
Subject: [PATCH] regulator: core: Assign bool value to variable has_full_constraints
In commit 21cf891a (regulator: Make regulator_has_full_constraints a bool)
type of variable has_full_constraints is changed to bool, so assign 'true'
to has_full_constraints here.
Signed-off-by: Baoquan He <bhe@...hat.com>
---
drivers/regulator/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index ec8184d5..a4f28b5 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -4193,7 +4193,7 @@ EXPORT_SYMBOL_GPL(regulator_suspend_finish);
*/
void regulator_has_full_constraints(void)
{
- has_full_constraints = 1;
+ has_full_constraints = true;
}
EXPORT_SYMBOL_GPL(regulator_has_full_constraints);
--
2.5.5
Powered by blists - more mailing lists