Re: [PATCH] mfd: htc-i2cpld: drop check because i2c_unregister_device() is NULL safe

From: Lee Jones
Date: Mon Sep 02 2019 - 05:06:33 EST


On Tue, 20 Aug 2019, Wolfram Sang wrote:

> No need to check the argument of i2c_unregister_device() because the
> function itself does it.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> Build tested only, buildbot is happy, too.
>
> Please apply to your tree.
>
> drivers/mfd/htc-i2cpld.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

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