greybus: Remove id_table usages
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 09:49:59 +0000 (17:49 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 09:49:59 +0000 (17:49 +0800)
We aren't using an id_table for "drivers" at this moment, as the whole
driver model interaction is under heavy rework.  So remove these for now
to keep things easier to understand for future patches.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/battery-gb.c
drivers/staging/greybus/core.c
drivers/staging/greybus/sdio-gb.c
drivers/staging/greybus/uart-gb.c

index b7d8e2c..28c0d0b 100644 (file)
@@ -92,11 +92,6 @@ struct gb_battery_voltage_request {
 };
 
 
-static const struct greybus_module_id id_table[] = {
-       { GREYBUS_DEVICE(0x42, 0x42) }, /* make shit up */
-       { },    /* terminating NULL entry */
-};
-
 static int battery_operation(struct gb_battery *gb, int type,
                             void *response, int response_size)
 {
index 7c0cb62..252d131 100644 (file)
@@ -119,11 +119,6 @@ void greybus_deregister(struct greybus_driver *driver)
 EXPORT_SYMBOL_GPL(greybus_deregister);
 
 
-static const struct greybus_module_id fake_greybus_module_id = {
-       GREYBUS_DEVICE(0x42, 0x42)
-};
-
-
 /**
  * gb_add_module
  *
index e9c3117..30caba8 100644 (file)
@@ -19,11 +19,6 @@ struct gb_sdio_host {
        // FIXME - some lock?
 };
 
-static const struct greybus_module_id id_table[] = {
-       { GREYBUS_DEVICE(0x43, 0x43) }, /* make shit up */
-       { },    /* terminating NULL entry */
-};
-
 static void gb_sd_request(struct mmc_host *mmc, struct mmc_request *mrq)
 {
        // FIXME - do something here...
index f88a301..b52d9e1 100644 (file)
@@ -51,11 +51,6 @@ struct gb_tty {
        struct mutex mutex;
 };
 
-static const struct greybus_module_id id_table[] = {
-       { GREYBUS_DEVICE(0x45, 0x45) }, /* make shit up */
-       { },    /* terminating NULL entry */
-};
-
 static struct tty_driver *gb_tty_driver;
 static DEFINE_IDR(tty_minors);
 static DEFINE_MUTEX(table_lock);