[PATCH 0/5] staging: comedi: remove the remaining 'thisboard' type macros

H Hartley Sweeten hsweeten at visionengravers.com
Sat Apr 6 00:34:57 UTC 2013


The 'thisboard' type macros rely on a local variable having a specific
name and yield either a pointer or a struct derived from that local
variable.

Remove the few remaining uses of these macros.

H Hartley Sweeten (5):
  staging: comedi: das1800: remove 'thisboard' macro
  staging: comedi: das800: remove 'thisboard' macro
  staging: comedi: dt2801: remove 'boardtype' macro
  staging: comedi: dt282x: remove 'boardtype' macro
  staging: comedi: ni_at_a2150: remove 'thisboard' macro

 drivers/staging/comedi/drivers/das1800.c     | 12 ++++++----
 drivers/staging/comedi/drivers/das800.c      | 13 +++++++----
 drivers/staging/comedi/drivers/dt2801.c      | 18 +++++++-------
 drivers/staging/comedi/drivers/dt282x.c      | 35 ++++++++++++++--------------
 drivers/staging/comedi/drivers/ni_at_a2150.c |  9 ++++---
 5 files changed, 46 insertions(+), 41 deletions(-)

-- 
1.8.1.4




More information about the devel mailing list