i2c: slave: add sanity check when unregistering
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 25 Jul 2020 19:50:53 +0000 (21:50 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 28 Jul 2020 16:37:17 +0000 (18:37 +0200)
commit8808981baf96e1b3dea1f08461e4d958aa0dbde1
treee4837ed95a192f04ae2c5e46e2508f33cadd9abe
parent1b1be3bf27b62f5abcf85c6f3214bdb9c7526685
i2c: slave: add sanity check when unregistering

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Alain Volmat <alain.volmat@st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-slave.c