commit | ac8010221d3fa8697151dfe9a1bb2c504adc68c1 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Wed Dec 03 16:40:27 2014 -0500 |
committer | David Vrabel <david.vrabel@citrix.com> | Thu Dec 04 12:41:59 2014 +0000 |
tree | 6f29ae15005f635809f6b7be8f964cfce29001ec | |
parent | e8801a7418dda995a70f30874aef77e6d064828e [diff] |
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: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Suggested-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>