]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: dmm32at: remove devpriv macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 3 Jul 2012 01:14:27 +0000 (18:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:51:22 +0000 (15:51 -0700)
commit2d613f679a65b2f8750d33251ae0ab1129d1d759
treec74ef3504482e26379a2927d1011cf0f24c6faa1
parenta97552de59194095860398007221706b38f1c41b
staging: comedi: dmm32at: remove devpriv macro

The 'devpriv' macro relies on a local variable having a specific
name and yields a pointer derived from that local variable. Replace
the macro with a local variable where used.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dmm32at.c