diff options
author | Greg Kroah-Hartman <[email protected]> | 2010-02-17 10:57:05 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-03-07 17:04:52 -0800 |
commit | 8e9394ce2412254ec69fd2a4f3e44a66eade2297 (patch) | |
tree | 355f25148b4ce3f5cfebeaf0939d71cb6beaf88b /net/lapb/lapb_in.c | |
parent | 62e877b893e6350c900d381f353aa62ed48dcc97 (diff) |
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 <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Phil Carmody <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Stefan Richter <[email protected]>
Cc: David Brownell <[email protected]>
Cc: Vegard Nossum <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Alex Chiang <[email protected]>
Cc: Kenji Kaneshige <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andrew Patterson <[email protected]>
Cc: Yu Zhao <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: CHENG Renquan <[email protected]>
Cc: Oliver Neukum <[email protected]>
Cc: Frans Pop <[email protected]>
Cc: David Vrabel <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: Sarah Sharp <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions