We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e7ddd commit 0b79d5dCopy full SHA for 0b79d5d
drivers/mtd/maps/pismo.c
@@ -206,8 +206,7 @@ static void pismo_remove(struct i2c_client *client)
206
kfree(pismo);
207
}
208
209
-static int pismo_probe(struct i2c_client *client,
210
- const struct i2c_device_id *id)
+static int pismo_probe(struct i2c_client *client)
211
{
212
struct pismo_pdata *pdata = client->dev.platform_data;
213
struct pismo_eeprom eeprom;
@@ -260,7 +259,7 @@ static struct i2c_driver pismo_driver = {
260
259
.driver = {
261
.name = "pismo",
262
},
263
- .probe = pismo_probe,
+ .probe_new = pismo_probe,
264
.remove = pismo_remove,
265
.id_table = pismo_id,
266
};
0 commit comments