aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/keywest.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-27 12:14:47 -0500
committerJean Delvare <khali@hyperion.delvare>2008-01-27 12:14:47 -0500
commit05c7abaeb344975a3257366a52368a4866aa518d (patch)
tree594b2f2f987fca4cda9ac98db87abb2f47af24e6 /sound/ppc/keywest.c
parent2cdddeb8d7dd42dc1847b110228a626d25a1e468 (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/ppc/keywest.c')
-rw-r--r--sound/ppc/keywest.c3
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 @@
34static struct pmac_keywest *keywest_ctx; 34static struct pmac_keywest *keywest_ctx;
35 35
36 36
37#define I2C_DRIVERID_KEYWEST 0xFEBA
38
39static int keywest_attach_adapter(struct i2c_adapter *adapter); 37static int keywest_attach_adapter(struct i2c_adapter *adapter);
40static int keywest_detach_client(struct i2c_client *client); 38static 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};