aboutsummaryrefslogtreecommitdiff
path: root/sound/ppc
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-27 18:14:47 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-27 18:14:47 +0100
commit05c7abaeb344975a3257366a52368a4866aa518d (patch)
tree594b2f2f987fca4cda9ac98db87abb2f47af24e6 /sound/ppc
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')
-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 272ae38e9b1..bb7d744faff 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,
};