commit | 631de3708d595d153e8a510a3608689290f4c0ed | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jan 02 16:12:50 2009 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jan 02 16:12:50 2009 +0100 |
tree | dbecf12cccac76e89cf1908f80b4f515cada731e | |
parent | b2cfb05a701809abee591265a198afa029d68bff [diff] |
ide: add ide_[un]lock_hwgroup() helpers Add ide_[un]lock_hwgroup() inline helpers for obtaining exclusive access to the given hwgroup and update the core code accordingly. [ This change besides making code saner results in more efficient use of ide_{get,release}_lock(). ] Cc: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Elias Oltmanns <eo@nebensachen.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>