From: Baoquan He <bhe@redhat.com>
To: lgirdwood@gmail.com, broonie@kernel.org
Cc: linux-kernel@vger.kernel.org, Baoquan He <bhe@redhat.com>
Subject: [PATCH] regulator: core: Assign bool value to variable has_full_constraints
Date: Mon, 4 Jul 2016 10:05:25 +0800 [thread overview]
Message-ID: <1467597925-10490-1-git-send-email-bhe@redhat.com> (raw)
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
next reply other threads:[~2016-07-04 2:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 2:05 Baoquan He [this message]
2016-07-04 8:12 ` [PATCH] regulator: core: Assign bool value to variable has_full_constraints Mark Brown
2016-07-04 8:28 ` Baoquan He
2016-07-04 8:38 ` Baoquan He
2016-07-04 9:09 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467597925-10490-1-git-send-email-bhe@redhat.com \
--to=bhe@redhat.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.