Re: [PATCH] pinctrl: ocelot: Remove unnecessary conversion to bool
From: Linus Walleij
Date: Tue Nov 10 2020 - 09:09:35 EST
On Fri, Nov 6, 2020 at 9:36 AM <xiakaixu1987@xxxxxxxxx> wrote:
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> Fix the following coccicheck warning:
>
> ./drivers/pinctrl/pinctrl-ocelot.c:732:28-33: WARNING: conversion to bool not needed here
>
> Reported-by: Tosk Robot <tencent_os_robot@xxxxxxxxxxx>
> Signed-off-by: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
Patch applied.
Yours,
LInus Walleij