# Re: \[PATCH\] video: backlight: tosa\_lcd: drop check because i2c\_unregister\_device() is NULL safe

- From: Lee Jones \<hidden\>
- Date: 2019-09-02 09:06:51 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2019/09/5705829
- Thread: https://ratatoskr.run/linux-i2c/2019/08/5693357/t.md

```text
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@sang-engineering.com>
> ---
> Build tested only, buildbot is happy, too.
> 
> Please apply to your tree.
> 
>  drivers/video/backlight/tosa_lcd.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
```
