]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci224: Remove thisboard and devpriv macros
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 15:02:05 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:50:06 +0000 (20:50 -0700)
commit3ae6206e374ea8d1d0f461c903f87924e8a30bf9
treec7d05da2589cce3e704fc03a922f215bdec684cf
parenta429e50f752ee77e1d47c124ae4db3b21ec80cb5
staging: comedi: amplc_pci224: Remove thisboard and devpriv macros

The 'thisboard' and 'devpriv' macros rely on a local variable having a
specific name and yield pointers derived from that local variable.
Replace the macros with local variables wherever they occur.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci224.c