]> Pileus Git - ~andy/linux/commit
UWB: fix sysfs warning on HWA device unplug.
authorThomas Pugliese <thomas.pugliese@gmail.com>
Thu, 8 Aug 2013 14:38:23 +0000 (09:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:41:09 +0000 (15:41 -0700)
commitfbbde074abf41efddbb5daeb1690d7281d613a8e
tree7c120c8d83f0eb85eab96b858aaafa7c63d7d8f2
parent644f6a121af0aee94b243d33cfe38d6d474e8cbc
UWB: fix sysfs warning on HWA device unplug.

In the disconnect routine for the hwa_hc interface, it calls
uwb_pal_unregister to unregister itself from the UWB subsystem.  This
function attempts to clean up the link to the host controller directory in
the device's UWB radio control interface directory.  If the disconnect
routine for the radio control interface has already run, the uwb directory
will be gone so the call to sysfs_remove_link generates a warning.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uwb/pal.c