usb: core: Change usb_create_sysfs_intf_files()' return type to void
authorMichal Nazarewicz <mina86@mina86.com>
Thu, 14 Apr 2011 15:47:09 +0000 (17:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:38 +0000 (17:24 -0700)
commit643de6240b0b59c420ad71dfeeb3125a3607af92
treea36dacc2a5c7eb9023c6d7d8a99d667e31551237
parent869410f82cbbb1464772046d87de8d18a916e706
usb: core: Change usb_create_sysfs_intf_files()' return type to void

The usb_create_sysfs_intf_files() function always returned zero even
if it failed to create sysfs fails.  Since this is a desired behaviour
there is no need to return return code at all.  This commit changes
function's return type (form int) to void.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/sysfs.c
drivers/usb/core/usb.c
drivers/usb/core/usb.h