]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci230: Remove thisboard and devpriv macros
authorIan Abbott <abbotti@mev.co.uk>
Fri, 1 Jun 2012 16:31:40 +0000 (17:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:50:49 +0000 (20:50 -0700)
commit1a3ecac4e7208420d4850d1c5a7f7168e61243c9
tree2ffcef1b8b48a9030df623daf48181493cb56738
parentb1fcc46d0b7bf91a8d886cec83f8c20fd9af9213
staging: comedi: amplc_pci230: 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_pci230.c