diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-27 12:14:47 -0500 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 12:14:47 -0500 |
commit | 05c7abaeb344975a3257366a52368a4866aa518d (patch) | |
tree | 594b2f2f987fca4cda9ac98db87abb2f47af24e6 /sound | |
parent | 2cdddeb8d7dd42dc1847b110228a626d25a1e468 (diff) |
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 272ae38e9b1..bb7d744faff 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c | |||
@@ -34,8 +34,6 @@ | |||
34 | static struct pmac_keywest *keywest_ctx; | 34 | static struct pmac_keywest *keywest_ctx; |
35 | 35 | ||
36 | 36 | ||
37 | #define I2C_DRIVERID_KEYWEST 0xFEBA | ||
38 | |||
39 | static int keywest_attach_adapter(struct i2c_adapter *adapter); | 37 | static int keywest_attach_adapter(struct i2c_adapter *adapter); |
40 | static int keywest_detach_client(struct i2c_client *client); | 38 | static int keywest_detach_client(struct i2c_client *client); |
41 | 39 | ||
@@ -43,7 +41,6 @@ struct i2c_driver keywest_driver = { | |||
43 | .driver = { | 41 | .driver = { |
44 | .name = "PMac Keywest Audio", | 42 | .name = "PMac Keywest Audio", |
45 | }, | 43 | }, |
46 | .id = I2C_DRIVERID_KEYWEST, | ||
47 | .attach_adapter = &keywest_attach_adapter, | 44 | .attach_adapter = &keywest_attach_adapter, |
48 | .detach_client = &keywest_detach_client, | 45 | .detach_client = &keywest_detach_client, |
49 | }; | 46 | }; |