Re: [PATCH 3/3] mfd/sm501: Adjust 12 checks for null pointers

From: Lee Jones
Date: Mon Jan 22 2018 - 10:49:16 EST


On Mon, 15 Jan 2018, SF Markus Elfring wrote:

> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 15 Jan 2018 16:00:22 +0100
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> The script âcheckpatch.plâ pointed information out like the following.
>
> Comparison to NULL could be written â
>
> Thus fix the affected source code places.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/sm501.c | 26 +++++++++++---------------
> 1 file changed, 11 insertions(+), 15 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog