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: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Greg Kroah-Hartman 2014-10-28 17:49:59 +08:00
parent c7a90cb599
commit cea54c12f7
4 changed files with 0 additions and 20 deletions

View 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)
{

View 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
*

View 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...

View 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);