Skip to content
  • Bartlomiej Zolnierkiewicz's avatar
    ide: add ide_[un]lock_hwgroup() helpers · 631de370
    Bartlomiej Zolnierkiewicz authored
    
    
    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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    631de370