kernel_optimize_test/drivers/uwb
Greg Kroah-Hartman 8e9394ce24 Driver core: create lock/unlock functions for struct device
In the future, we are going to be changing the lock type for struct
device (once we get the lockdep infrastructure properly worked out)  To
make that changeover easier, and to possibly burry the lock in a
different part of struct device, let's create some functions to lock and
unlock a device so that no out-of-core code needs to be changed in the
future.

This patch creates the device_lock/unlock/trylock() functions, and
converts all in-tree users to them.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Dave Young <hidave.darkstar@gmail.com>
Cc: Ming Lei <tom.leiming@gmail.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Phil Carmody <ext-phil.2.carmody@nokia.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Len Brown <len.brown@intel.com>
Cc: Magnus Damm <damm@igel.co.jp>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Alex Chiang <achiang@hp.com>
Cc: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Patterson <andrew.patterson@hp.com>
Cc: Yu Zhao <yu.zhao@intel.com>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: CHENG Renquan <rqcheng@smu.edu.sg>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Frans Pop <elendil@planet.nl>
Cc: David Vrabel <david.vrabel@csr.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:52 -08:00
..
i1480 tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
wlp Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
address.c
allocator.c uwb: remove unused #include <version.h>'s 2009-01-07 10:44:42 +00:00
beacon.c
driver.c driver-core: Add attribute argument to class_attribute show/store 2010-03-07 17:04:48 -08:00
drp-avail.c
drp-ie.c
drp.c uwb: lock rc->rsvs_lock with spin_lock_bh() 2009-01-23 12:57:20 +00:00
est.c
hwa-rc.c uwb: avoid radio controller reset loops 2009-08-26 12:39:29 +01:00
ie-rcv.c
ie.c
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
lc-dev.c driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
lc-rc.c uwb: stop uwbd thread if rc->start() fails 2009-08-25 15:07:12 +01:00
Makefile
neh.c tree-wide: fix a very frequent spelling mistake 2009-11-09 09:40:54 +01:00
pal.c
radio.c
reset.c uwb: avoid radio controller reset loops 2009-08-26 12:39:29 +01:00
rsv.c uwb: lock rc->rsvs_lock with spin_lock_bh() 2009-01-23 12:57:20 +00:00
scan.c
umc-bus.c Driver core: create lock/unlock functions for struct device 2010-03-07 17:04:52 -08:00
umc-dev.c
umc-drv.c
uwb-debug.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
uwb-internal.h Driver core: create lock/unlock functions for struct device 2010-03-07 17:04:52 -08:00
uwbd.c uwb: handle radio controller events with out-of-range IDs correctly 2009-08-25 15:03:07 +01:00
whc-rc.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
whci.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00