From: Brian Austin Subject: [PATCH 3/3] ASoC: cs42l56: use true/false returns for bool functions Date: Thu, 28 Aug 2014 10:02:42 -0500 Message-ID: <1409238162-13400-3-git-send-email-brian.austin@cirrus.com> References: <1409238162-13400-1-git-send-email-brian.austin@cirrus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0139.outbound.protection.outlook.com [207.46.163.139]) by alsa0.perex.cz (Postfix) with ESMTP id 6F3732664A4 for ; Thu, 28 Aug 2014 17:02:16 +0200 (CEST) In-Reply-To: <1409238162-13400-1-git-send-email-brian.austin@cirrus.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Brian Austin , broonie@kernel.org, lgirdwood@gmail.com List-Id: alsa-devel@alsa-project.org Return true or false instead of 1 and 0 Signed-off-by: Brian Austin --- sound/soc/codecs/cs42l56.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c index c766a5a..b1c7396 100644 --- a/sound/soc/codecs/cs42l56.c +++ b/sound/soc/codecs/cs42l56.c @@ -171,9 +171,9 @@ static bool cs42l56_volatile_register(struct device *dev, unsigned int reg) { switch (reg) { case CS42L56_INT_STATUS: - return 1; + return true; default: - return 0; + return false; } } -- 1.7.9.5