PNP: Convert pnp_lock into a mutex
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:39:55 +0000 (22:39 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:39:55 +0000 (22:39 +0100)
commit38f6b38dbb0896511c509fbb6ceabbedbee8e87d
tree00553b841e8af3add37162c6a189991d7dba30df
parentaee94467d9858b5441c278ffa39dcd19bef548cf
PNP: Convert pnp_lock into a mutex

pnp_lock is a spinlock, but it is only acquired from process context,
so it may be a mutex just fine.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/base.h
drivers/pnp/card.c
drivers/pnp/core.c
drivers/pnp/driver.c