uas: replace WARN_ON_ONCE() with lockdep_assert_held()
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Tue, 12 Aug 2014 06:40:21 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:38:08 +0000 (21:38 -0700)
on some architecture spin_is_locked() always return false in
uniprocessor configuration and therefore it would be advise
to replace with lockdep_assert_held().

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c

Simple merge