]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/staging/comedi/drivers/adv_pci1710.c
staging: comedi: adv_pci1710: remove devpriv and this_board macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 18 Aug 2012 01:05:22 +0000 (18:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 18:20:29 +0000 (11:20 -0700)
commit6bd65164363ff0e8ea7720f71fedba8bd0eaba9a
treeac389a303f625dd46f7ec5df807f96142e98d113
parentf5f9a3ff04feb6851bcfbb278c506d74037e54b9
staging: comedi: adv_pci1710: remove devpriv and this_board macros

These macros rely on a local variable having a specific name. Remove
them and use the comedi_board() helper to get the this_board pointer.

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/adv_pci1710.c