Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp169456pxb; Tue, 9 Mar 2021 19:56:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLJtEFHrigNWtcdpTVOD9OYWCojD3zWM3vz0s3uBe1/1rMaQVQ+Z0Y4I+lmNlwMR6fmCHE X-Received: by 2002:a05:6402:1283:: with SMTP id w3mr948340edv.340.1615348593449; Tue, 09 Mar 2021 19:56:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615348593; cv=none; d=google.com; s=arc-20160816; b=o04WkiH96J13XmI8asOj0AFNCWmnt2k6Uldh88Vnip7L4DTXXzKAaAttGOQkKRk6jG XdGpvJRCvn7JknpUb9w21GVFCn9JfMCa84iQsg5srSkgrHMeEPohpAjIeeS29Yjgmsdl erVFTS2nqSVF6oa6dle2xyA5q6zrD9FRNVQDkX9P11CTjIHuvD8M6p5Rc+uWFbOLOOPW xxN+6W5BYyTq8clOjZqYmYLYMwhPGyHWk3sM2bVYVkKUmCHA2OQ5Q5AgkpFkResGBfG7 iiT3noxgFS1oc3RafSheeHMhFFuZR7yzHTOk8oVOEf1J/FUqFVPT5qsdhWP9frXKq/pb IlcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=BnouH/32lXjRS12hsjUa/CTW7sUqrDJ55+x8VsQWIX4=; b=VLmub6OvmZCuSriq0WqABW6AnzlqrD3NthTBJdldozZ31aDR3MPm+z1y2Q3SaOyjL+ lEvhNYCho2GN2oIMx3WBHqDDQDMWD1ZBdlj4xwymMzLp1YbOps+GemUM1qAqGAGsNkoL fWQJ9aHgZTB3dW//bHoD0yTf3hIHzx41+FPvOXHz2J/uNwnP/uLqcxSZu143K/2SNzO5 NVp7nvduZGWccuwJXMhzJhRyl/XF1G3t6wpFReNRPnoYi43QG58eNK/+LEJeb64BQQqh YeorYbBWgehO3QOycFs9Gf+Nl85Zz41pdZDTCCDPZgMxf7epj3mcTcAxDT4KvnolTYc6 2/iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm7si11510353edb.188.2021.03.09.19.56.11; Tue, 09 Mar 2021 19:56:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232182AbhCJDye (ORCPT + 99 others); Tue, 9 Mar 2021 22:54:34 -0500 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:37547 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbhCJDyc (ORCPT ); Tue, 9 Mar 2021 22:54:32 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0URBTWf-_1615348439; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0URBTWf-_1615348439) by smtp.aliyun-inc.com(127.0.0.1); Wed, 10 Mar 2021 11:54:30 +0800 From: Jiapeng Chong To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH v2] mfd: dbx500-prcmu: Use true and false for bool variable Date: Wed, 10 Mar 2021 11:53:59 +0800 Message-Id: <1615348439-57732-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: ./include/linux/mfd/db8500-prcmu.h:723:8-9: WARNING: return of 0/1 in function 'db8500_prcmu_is_ac_wake_requested' with return type bool. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: - Make the commit message more clearer. include/linux/mfd/db8500-prcmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/db8500-prcmu.h b/include/linux/mfd/db8500-prcmu.h index 4b63d3e..a62de3d 100644 --- a/include/linux/mfd/db8500-prcmu.h +++ b/include/linux/mfd/db8500-prcmu.h @@ -720,7 +720,7 @@ static inline int db8500_prcmu_load_a9wdog(u8 id, u32 val) static inline bool db8500_prcmu_is_ac_wake_requested(void) { - return 0; + return false; } static inline int db8500_prcmu_set_arm_opp(u8 opp) -- 1.8.3.1