diff options
author | 2015-11-21 10:52:00 +0100 | |
---|---|---|
committer | 2015-11-21 17:15:35 -0800 | |
commit | 9784a591f00134c02d152d6d07c539a136db7c12 (patch) | |
tree | 86a5cf51ad141c66f8d60b09df268a8c93146e39 /drivers/staging/greybus/greybus.h | |
parent | greybus: fix bundle-id match macros (diff) | |
download | linux-dev-9784a591f00134c02d152d6d07c539a136db7c12.tar.xz linux-dev-9784a591f00134c02d152d6d07c539a136db7c12.zip |
greybus: remove unique-id matching
Remove unique-id matching as it does not make much sense to have a
driver match a specific device serial number.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r-- | drivers/staging/greybus/greybus.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index 4a6b23528490..4f8aa318d2ab 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -50,10 +50,6 @@ .vendor = (v), \ .product = (p), -#define GREYBUS_DEVICE_SERIAL(s) \ - .match_flags = GREYBUS_ID_MATCH_SERIAL, \ - .serial_number = (s), - /* Maximum number of CPorts */ #define CPORT_ID_MAX 4095 /* UniPro max id is 4095 */ #define CPORT_ID_BAD U16_MAX |