Commit cea54c12 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: Remove id_table usages

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: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent c7a90cb5
...@@ -92,11 +92,6 @@ struct gb_battery_voltage_request { ...@@ -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, static int battery_operation(struct gb_battery *gb, int type,
void *response, int response_size) void *response, int response_size)
{ {
......
...@@ -119,11 +119,6 @@ void greybus_deregister(struct greybus_driver *driver) ...@@ -119,11 +119,6 @@ void greybus_deregister(struct greybus_driver *driver)
EXPORT_SYMBOL_GPL(greybus_deregister); EXPORT_SYMBOL_GPL(greybus_deregister);
static const struct greybus_module_id fake_greybus_module_id = {
GREYBUS_DEVICE(0x42, 0x42)
};
/** /**
* gb_add_module * gb_add_module
* *
......
...@@ -19,11 +19,6 @@ struct gb_sdio_host { ...@@ -19,11 +19,6 @@ struct gb_sdio_host {
// FIXME - some lock? // 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) static void gb_sd_request(struct mmc_host *mmc, struct mmc_request *mrq)
{ {
// FIXME - do something here... // FIXME - do something here...
......
...@@ -51,11 +51,6 @@ struct gb_tty { ...@@ -51,11 +51,6 @@ struct gb_tty {
struct mutex mutex; 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 struct tty_driver *gb_tty_driver;
static DEFINE_IDR(tty_minors); static DEFINE_IDR(tty_minors);
static DEFINE_MUTEX(table_lock); static DEFINE_MUTEX(table_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment