Skip to content
Commit ac801022 authored by Konrad Rzeszutek Wilk's avatar Konrad Rzeszutek Wilk Committed by David Vrabel
Browse files

driver core: Provide an wrapper around the mutex to do lockdep warnings



Instead of open-coding it in drivers that want to double check
that their functions are indeed holding the device lock.

Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Suggested-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent e8801a74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment