]> git.baikalelectronics.ru Git - kernel.git/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)
commita769a2cb13157715e3ec798f1a0db343c7fc9bbd
tree7c120c8d83f0eb85eab96b858aaafa7c63d7d8f2
parent450d089faab478cd4b23817beaebf8c5ea2d632c
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