aboutsummaryrefslogtreecommitdiff
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-09-09 12:54:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:51:07 -0700
commit1359555eb77d240b7c1d7ee75bb07e89e89770e4 (patch)
tree62ee852622700d23dffa7593c84420762e07147f /fs/sysfs/dir.c
parent44b760a825fae65629fb04b1deeab68c6bef5c50 (diff)
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>
Diffstat (limited to 'fs/sysfs/dir.c')
0 files changed, 0 insertions, 0 deletions