Skip to content
Commit 28a1d72a authored by Wolfram Sang's avatar Wolfram Sang Committed by Lee Jones
Browse files

video: backlight: tosa_lcd: drop check because i2c_unregister_device() is NULL safe



No need to check the argument of i2c_unregister_device() because the
function itself does it.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent bcd69da9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment