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:
Kay Sievers
2008-05-02 06:02:41 +02:00
committed by Greg Kroah-Hartman
parent f75b1c60fc
commit aab0de2451
16 changed files with 26 additions and 26 deletions

View File

@@ -733,7 +733,7 @@ struct spi_board_info {
* controller_data goes to spi_device.controller_data,
* irq is copied too
*/
char modalias[KOBJ_NAME_LEN];
char modalias[32];
const void *platform_data;
void *controller_data;
int irq;