Searched hist:"1359555 e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | platform_device.h | 1359555e Sun Sep 09 05:54:16 CDT 2007 Jean Delvare <khali@linux-fr.org> Driver core: Make platform_device.id an int
While platform_device.id is a u32, platform_device_add() handles "-1" as a special id value. This has potential for confusion and bugs. Making it an int instead should prevent problems from happening in the future.
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> 1359555e Sun Sep 09 05:54:16 CDT 2007 Jean Delvare <khali@linux-fr.org> Driver core: Make platform_device.id an int While platform_device.id is a u32, platform_device_add() handles "-1" as a special id value. This has potential for confusion and bugs. Making it an int instead should prevent problems from happening in the future. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
/openbmc/linux/drivers/base/ |
H A D | platform.c | 1359555e Sun Sep 09 05:54:16 CDT 2007 Jean Delvare <khali@linux-fr.org> Driver core: Make platform_device.id an int
While platform_device.id is a u32, platform_device_add() handles "-1" as a special id value. This has potential for confusion and bugs. Making it an int instead should prevent problems from happening in the future.
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> 1359555e Sun Sep 09 05:54:16 CDT 2007 Jean Delvare <khali@linux-fr.org> Driver core: Make platform_device.id an int While platform_device.id is a u32, platform_device_add() handles "-1" as a special id value. This has potential for confusion and bugs. Making it an int instead should prevent problems from happening in the future. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|