[PATCH 21/48] i2c: slave: improve sanity check when registering