]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_dio200: Remove thisboard, thislayout and devpriv macros
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 13:08:36 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:49:20 +0000 (20:49 -0700)
commite692078306554c7ecebb662a0dd92a29ae3a5b1d
tree05360f0a249cca31208b8336095643d048b1b75b
parent8a1eddca78b8414bc099dab825e848194ddf4e14
staging: comedi: amplc_dio200: Remove thisboard, thislayout and devpriv macros

The 'thisboard', 'thislayout' 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_dio200.c