Re: [PATCH] rtc: sc27xx: Remove unnecessary conversion to bool

From: Alexandre Belloni
Date: Sat Nov 14 2020 - 17:35:08 EST


On Fri, 6 Nov 2020 15:30:54 +0800, xiakaixu1987@xxxxxxxxx wrote:
> Here we could use the '!=' expression to fix the following coccicheck
> warning:
>
> ./drivers/rtc/rtc-sc27xx.c:566:50-55: WARNING: conversion to bool not needed here

Applied, thanks!

[1/1] rtc: sc27xx: Remove unnecessary conversion to bool
commit: 825156a5eeded9bcb55e9c36d4b4b72bf20bcba6

Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>