driver core: remove KOBJ_NAME_LEN define
Kobjects do not have a limit in name size since a while, so stop pretending that they do. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f75b1c60fc
commit
aab0de2451
@@ -29,8 +29,7 @@
|
||||
/* DEVICE_NAME_HALF is really less than half to accommodate slop */
|
||||
#define DEVICE_NAME_HALF __stringify(20)
|
||||
#define DEVICE_ID_SIZE 32
|
||||
#define BUS_ID_SIZE KOBJ_NAME_LEN
|
||||
|
||||
#define BUS_ID_SIZE 20
|
||||
|
||||
struct device;
|
||||
struct device_driver;
|
||||
|
Reference in New Issue
Block a user