Skip to content

Commit

Permalink
I2c dummy device API change (sonic-net#17703)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidhya-rajan authored Aug 20, 2024
1 parent 2ca494d commit 8dbd012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static int mc24lc64t_probe(struct i2c_client *client,
sizeof(struct mc24lc64t_data), GFP_KERNEL)))
return -ENOMEM;

drvdata->fake_client = i2c_new_dummy(client->adapter, client->addr + 1);
drvdata->fake_client = i2c_new_dummy_device(client->adapter, client->addr + 1);
if (!drvdata->fake_client)
return -ENOMEM;

Expand Down

0 comments on commit 8dbd012

Please sign in to comment.