diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-11-06 09:00:37 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-11-14 23:31:33 +0100 |
commit | a48c6224ae07bed02893c58073ca2942acb5c3d5 (patch) | |
tree | 439437237cb711c3ab5e07182973cf03ab6bc7bb /drivers/rtc/rtc-hym8563.c | |
parent | rtc: sc27xx: Remove unnecessary conversion to bool (diff) | |
download | linux-a48c6224ae07bed02893c58073ca2942acb5c3d5.tar.xz linux-a48c6224ae07bed02893c58073ca2942acb5c3d5.zip |
rtc: da9063: Simplify bool comparison
Fix the following coccicheck warning:
./drivers/rtc/rtc-da9063.c:246:5-18: WARNING: Comparison to bool
Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1604649637-1014-1-git-send-email-kaixuxia@tencent.com
Diffstat (limited to 'drivers/rtc/rtc-hym8563.c')
0 files changed, 0 insertions, 0 deletions