Re: [PATCH] mfd: dbx500-prcmu: Use true and false for bool variable

From: Lee Jones
Date: Mon Mar 08 2021 - 08:28:36 EST


On Wed, 10 Feb 2021, Jiapeng Chong wrote:

> 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<abaci@xxxxxxxxxxxxxxxxx>

This needs a ' ' before the '<'.

> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> ---
> include/linux/mfd/db8500-prcmu.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I fixed the above and applied the patch, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog