linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: core: Assign bool value to variable has_full_constraints
@ 2016-07-04  2:05 Baoquan He
  2016-07-04  8:12 ` Mark Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Baoquan He @ 2016-07-04  2:05 UTC (permalink / raw)
  To: lgirdwood, broonie; +Cc: linux-kernel, Baoquan He

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@redhat.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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-04  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04  2:05 [PATCH] regulator: core: Assign bool value to variable has_full_constraints Baoquan He
2016-07-04  8:12 ` Mark Brown
2016-07-04  8:28   ` Baoquan He
2016-07-04  8:38   ` Baoquan He
2016-07-04  9:09     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).