From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932515AbcGDCFb (ORCPT ); Sun, 3 Jul 2016 22:05:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43181 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932236AbcGDCFa (ORCPT ); Sun, 3 Jul 2016 22:05:30 -0400 From: Baoquan He To: lgirdwood@gmail.com, broonie@kernel.org Cc: linux-kernel@vger.kernel.org, Baoquan He Subject: [PATCH] regulator: core: Assign bool value to variable has_full_constraints Date: Mon, 4 Jul 2016 10:05:25 +0800 Message-Id: <1467597925-10490-1-git-send-email-bhe@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 04 Jul 2016 02:05:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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