i2c: dummy: Drop no-op remove function
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 26 May 2022 13:12:13 +0000 (15:12 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 8 Jun 2022 20:39:33 +0000 (22:39 +0200)
commit99ad11e06be8ad29abee1ec3b8b22dfe77bbabec
tree7bf975d668175dff8c4c72838c7554d6c8a05f16
parent3d43273d7d1e1a5374d531e901d3c537b4c97bbf
i2c: dummy: Drop no-op remove function

A remove callback that just returns 0 is equivalent to no callback at all
as can be seen in i2c_device_remove(). So simplify accordingly.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-base.c