From: Bartlomiej Zolnierkiewicz Date: Fri, 2 Jan 2009 15:12:50 +0000 (+0100) Subject: ide: add ide_[un]lock_hwgroup() helpers X-Git-Tag: v2.6.29-rc1~540^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=631de3708d595d153e8a510a3608689290f4c0ed;p=pandora-kernel.git 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 Cc: Geert Uytterhoeven Cc: Elias Oltmanns Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed