staging: comedi: 8255: remove the s->private access macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 13 Jun 2012 22:41:45 +0000 (15:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:19:14 +0000 (17:19 -0700)
commit7c61452afcf5cf2f781f8aabc42405af0edc4b06
tree93782168c6d7c4306b1d366f9b8a248ef9967ae8
parenta9044d91990d4ba611f95fc5c84e2531fa54a5f9
staging: comedi: 8255: remove the s->private access macros

The macros CALLBACK_ARG, CALLBACK_FUNC, and subdevpriv all rely
on a a local variable having a specific name. Replace the macros
with local variables wherever they occur.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/8255.c