Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3116c860 authored by Vikram Narayanan's avatar Vikram Narayanan Committed by Jean Delvare
Browse files

i2c/writing-clients: Fix foo_driver.id_table



The i2c_device_id structure variable's name is not used in the
i2c_driver structure.

Signed-off-by: default avatarVikram Narayanan <vikram186@gmail.com>
Cc: stable@kernel.org
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent d762f438
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ static struct i2c_driver foo_driver = {
		.name	= "foo",
	},

	.id_table	= foo_ids,
	.id_table	= foo_idtable,
	.probe		= foo_probe,
	.remove		= foo_remove,
	/* if device autodetection is needed: */