[PATCH 4.19 23/48] i2c: slave: add sanity check when unregistering