Message ID | 1409238162-13400-2-git-send-email-brian.austin@cirrus.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5c216cc3f37a6eecb4e12ab0248b66e6386da0fe |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 790AAC0338 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 29 Aug 2014 22:10:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8106D2011D for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 29 Aug 2014 22:10:54 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id EE32B2012D for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 29 Aug 2014 22:10:45 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id D5D4E265487; Sat, 30 Aug 2014 00:10:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 836D9265518; Fri, 29 Aug 2014 19:13:24 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8016526547A; Fri, 29 Aug 2014 19:13:21 +0200 (CEST) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0236.outbound.protection.outlook.com [207.46.163.236]) by alsa0.perex.cz (Postfix) with ESMTP id 09AE72664A3 for <alsa-devel@alsa-project.org>; Thu, 28 Aug 2014 17:02:16 +0200 (CEST) Received: from BN1BFFO11FD039.protection.gbl (10.58.144.33) by BN1BFFO11HUB018.protection.gbl (10.58.144.165) with Microsoft SMTP Server (TLS) id 15.0.1010.11; Thu, 28 Aug 2014 15:02:11 +0000 Received: from mail1.cirrus.com (141.131.3.20) by BN1BFFO11FD039.mail.protection.outlook.com (10.58.144.102) with Microsoft SMTP Server id 15.0.1010.11 via Frontend Transport; Thu, 28 Aug 2014 15:02:11 +0000 Received: from ex4.ad.cirrus.com (ex4.ad.cirrus.com [141.131.36.35]) by mail1.cirrus.com (Postfix) with ESMTP id F12133402E; Thu, 28 Aug 2014 10:04:30 -0500 (CDT) Received: from heelrod.ad.cirrus.com (141.131.108.100) by EX4.ad.cirrus.com (141.131.36.39) with Microsoft SMTP Server id 14.3.174.1; Thu, 28 Aug 2014 10:02:10 -0500 Received: from heelrod.ad.cirrus.com (localhost [127.0.0.1]) by heelrod.ad.cirrus.com (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s7SF2mMK013441; Thu, 28 Aug 2014 10:02:48 -0500 Received: (from heelrod@localhost) by heelrod.ad.cirrus.com (8.14.4/8.14.4/Submit) id s7SF2mKA013440; Thu, 28 Aug 2014 10:02:48 -0500 From: Brian Austin <brian.austin@cirrus.com> To: <alsa-devel@alsa-project.org> Date: Thu, 28 Aug 2014 10:02:41 -0500 Message-ID: <1409238162-13400-2-git-send-email-brian.austin@cirrus.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409238162-13400-1-git-send-email-brian.austin@cirrus.com> References: <1409238162-13400-1-git-send-email-brian.austin@cirrus.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:141.131.3.20; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438002)(189002)(199003)(80022001)(77982001)(90102001)(47776003)(74662001)(74502001)(77096002)(81342001)(46102001)(85306004)(20776003)(76482001)(4396001)(21056001)(48376002)(50226001)(33646002)(2351001)(62966002)(64706001)(79102001)(92566001)(81542001)(110136001)(107046002)(31966008)(83072002)(85852003)(99396002)(229853001)(89996001)(95666004)(50466002)(76176999)(87286001)(50986999)(88136002)(93916002)(44976005)(102836001)(19580405001)(87936001)(19580395003)(77156001)(92726001)(83322001)(42186005)(106466001)(104166001)(36756003)(87636001); DIR:OUT; SFP:; SCL:1; SRVR:BN1BFFO11HUB018; H:mail1.cirrus.com; FPR:; MLV:sfv; PTR:mail1.cirrus.com; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 031763BCAF Received-SPF: Pass (protection.outlook.com: domain of cirrus.com designates 141.131.3.20 as permitted sender) receiver=protection.outlook.com; client-ip=141.131.3.20; helo=mail1.cirrus.com; Authentication-Results: spf=pass (sender IP is 141.131.3.20) smtp.mailfrom=heelrod@cirrus.com; X-OriginatorOrg: cirrus.com Cc: Brian Austin <brian.austin@cirrus.com>, broonie@kernel.org, lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 2/3] ASoC: cs42l52: use true/false returns for bool functions X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c index 969167d..da4f758 100644 --- a/sound/soc/codecs/cs42l52.c +++ b/sound/soc/codecs/cs42l52.c @@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg) case CS42L52_BATT_LEVEL: case CS42L52_SPK_STATUS: case CS42L52_CHARGE_PUMP: - return 1; + return true; default: - return 0; + return false; } }
Return true or false instead of 1 and 0 Signed-off-by: Brian Austin <brian.austin@cirrus.com> --- sound/soc/codecs/cs42l52.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)