i2c_new_dummy has been removed. All in-kernel users have been
converted to {devm_}i2c_new_dummy_device().Signed-off-by: Xiaolei Wang <[email protected]> --- drivers/media/platform/mxc/capture/ov5640_mipi_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c b/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c index a22a242760a0..b5c3d16bfd84 100644 --- a/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c +++ b/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c @@ -521,7 +521,7 @@ static int ov5640_update_slave_id(struct ov5640 *sensor) tmp_client = sensor->i2c_client; sensor->i2c_client = - i2c_new_dummy(tmp_client->adapter, DEFAULT_SCCB_ID >> 1); + i2c_new_dummy_device(tmp_client->adapter, DEFAULT_SCCB_ID >> 1); if (!sensor->i2c_client) { dev_err(dev, "Failed to communicate on 0x%x\n", DEFAULT_SCCB_ID); -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9671): https://lists.yoctoproject.org/g/linux-yocto/message/9671 Mute This Topic: https://lists.yoctoproject.org/mt/81822950/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
