On Thu, Nov 26, 2020 at 08:23:31AM +0100, Uwe Kleine-König wrote: > A driver remove callback is only called if the device was bound before. > So it's sure that both dev and dev->driver are valid and dev is an i2c > device. If the check fails something louder than "return 0" might be > appropriate because the problem is grave (something like memory > corruption), otherwise the check is useless. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature