diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-27 20:14:47 +0300 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 20:14:47 +0300 |
commit | 05c7abaeb344975a3257366a52368a4866aa518d (patch) | |
tree | 594b2f2f987fca4cda9ac98db87abb2f47af24e6 /sound | |
parent | 2cdddeb8d7dd42dc1847b110228a626d25a1e468 (diff) | |
download | linux-05c7abaeb344975a3257366a52368a4866aa518d.tar.xz |
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 <khali@linux-fr.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/ppc/keywest.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c index 272ae38e9b18..bb7d744faff5 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c @@ -34,8 +34,6 @@ static struct pmac_keywest *keywest_ctx; -#define I2C_DRIVERID_KEYWEST 0xFEBA - static int keywest_attach_adapter(struct i2c_adapter *adapter); static int keywest_detach_client(struct i2c_client *client); @@ -43,7 +41,6 @@ struct i2c_driver keywest_driver = { .driver = { .name = "PMac Keywest Audio", }, - .id = I2C_DRIVERID_KEYWEST, .attach_adapter = &keywest_attach_adapter, .detach_client = &keywest_detach_client, }; |