i2c: Kill rogue driver IDs

I2C driver IDs are optional, so if you don't need one, just omit it.

Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
Jean Delvare 2008-01-27 18:14:47 +01:00 • committed by Jean Delvare
commit 05c7abaeb3
3 changed files with 0 additions and 7 deletions

View file

@ -123,7 +123,6 @@ static struct i2c_client_address_data addr_data = {
};
struct i2c_driver isp1301_driver = {
.id = I2C_DRIVERID_I2CDEV, /* Fake Id */
.class = I2C_CLASS_HWMON,
.attach_adapter = isp1301_probe,
.detach_client = isp1301_detach,