diff options
author | Mark Hounschell <markh@compro.net> | 2014-03-19 11:10:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-19 08:49:06 -0700 |
commit | c43846a91fc2aeb8f8f519f71324f3bec91bb62f (patch) | |
tree | 9fa8044d8cca9c3a44bdddeea4008b12e91b2835 /drivers/staging/dgap/dgap.h | |
parent | 8cdd76391e66150b5563658bdca576428c74df34 (diff) | |
download | linux-c43846a91fc2aeb8f8f519f71324f3bec91bb62f.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/dgap/dgap.h')
-rw-r--r-- | drivers/staging/dgap/dgap.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h index c4d714c581f8..c8f85096789b 100644 --- a/drivers/staging/dgap/dgap.h +++ b/drivers/staging/dgap/dgap.h @@ -194,13 +194,6 @@ typedef unsigned char uchar; #define VPDSIZE (512) -/* - * Lock function/defines. - * Makes spotting lock/unlock locations easier. - */ -# define DGAP_LOCK(x,y) spin_lock_irqsave(&(x), y) -# define DGAP_UNLOCK(x,y) spin_unlock_irqrestore(&(x), y) - /************************************************************************ * FEP memory offsets ************************************************************************/ |