staging: dgap: get rid of DGAP_LOCK and DGAP_UNLOCK macros
authorMark Hounschell <markh@compro.net>
Wed, 19 Mar 2014 15:10:51 +0000 (11:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 15:49:06 +0000 (08:49 -0700)
commitc43846a91fc2aeb8f8f519f71324f3bec91bb62f
tree9fa8044d8cca9c3a44bdddeea4008b12e91b2835
parent8cdd76391e66150b5563658bdca576428c74df34
staging: dgap: get rid of DGAP_LOCK and DGAP_UNLOCK macros

This patch replaces the DGAP_LOCK and DGAP_UNLOCK macros with
spin_lock_irqsave spin_unlock_irqrestore.

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c
drivers/staging/dgap/dgap.h