From cea54c12f7badb18f2adbf718b8451f5d14a654d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 28 Oct 2014 17:49:59 +0800 Subject: [PATCH] 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 --- drivers/staging/greybus/battery-gb.c | 5 ----- drivers/staging/greybus/core.c | 5 ----- drivers/staging/greybus/sdio-gb.c | 5 ----- drivers/staging/greybus/uart-gb.c | 5 ----- 4 files changed, 20 deletions(-) diff --git a/drivers/staging/greybus/battery-gb.c b/drivers/staging/greybus/battery-gb.c index b7d8e2c8fb85..28c0d0b9aefe 100644 --- a/drivers/staging/greybus/battery-gb.c +++ b/drivers/staging/greybus/battery-gb.c @@ -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) { diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 7c0cb6227b1f..252d131c3ae8 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -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 * diff --git a/drivers/staging/greybus/sdio-gb.c b/drivers/staging/greybus/sdio-gb.c index e9c311780556..30caba8d0fa5 100644 --- a/drivers/staging/greybus/sdio-gb.c +++ b/drivers/staging/greybus/sdio-gb.c @@ -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... diff --git a/drivers/staging/greybus/uart-gb.c b/drivers/staging/greybus/uart-gb.c index f88a301eb9fe..b52d9e11f536 100644 --- a/drivers/staging/greybus/uart-gb.c +++ b/drivers/staging/greybus/uart-gb.c @@ -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); -- 2.20.1