android_kernel_xiaomi_sm8350/drivers/ieee1394
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
..
config_roms.c
config_roms.h
csr1212.c ieee1394/csr1212: fix false positive kmemcheck report 2009-06-15 15:49:31 +02:00
csr1212.h
csr.c
csr.h
dma.c const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
dma.h
dv1394-private.h
dv1394.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
dv1394.h
eth1394.c drivers: Kill now superfluous ->last_rx stores 2009-09-02 23:07:36 -07:00
eth1394.h
highlevel.c
highlevel.h
hosts.c
hosts.h
ieee1394_core.c
ieee1394_core.h
ieee1394_hotplug.h
ieee1394_transactions.c
ieee1394_transactions.h
ieee1394_types.h
ieee1394-ioctl.h
ieee1394.h
init_ohci1394_dma.c
iso.c
iso.h
Kconfig firewire, ieee1394: update Kconfig help 2009-12-29 19:58:17 +01:00
Makefile
nodemgr.c Driver core: create lock/unlock functions for struct device 2010-03-07 17:04:52 -08:00
nodemgr.h
ohci1394.c ieee1394: Use hweight32 2009-11-18 20:30:35 +01:00
ohci1394.h
pcilynx.c
pcilynx.h
raw1394-private.h
raw1394.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
raw1394.h
sbp2.c block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectors 2010-02-26 13:58:08 +01:00
sbp2.h ieee1394: sbp2: add support for disks >2 TB (and 16 bytes long CDBs) 2009-07-02 21:27:01 +02:00
video1394.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
video1394.h