OSDN Git Service

mfd: htc-i2cpld: Drop check because i2c_unregister_device() is NULL safe
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 20 Aug 2019 15:34:43 +0000 (17:34 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 2 Sep 2019 10:09:03 +0000 (11:09 +0100)
commit1094422253db01ac3a12bde010c75e5135021d2d
treed7a354519ebcd66f38ebded03fb693e7778293e1
parentf68c0a873ef28637a201ec37e1bafdf040813454
mfd: htc-i2cpld: 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: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/htc-i2cpld.c