]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: comedi: adq12b: remove devpriv macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 23:49:06 +0000 (16:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 16:30:34 +0000 (09:30 -0700)
commit5c1eb3857a7fada597f6dc2746f5f700bdb780ee
tree28ce22662987a6a48ce7511d4a00583f11351d75
parent22d4b56f5b4185db609f5c94113d8ee6ca8807dc
staging: comedi: adq12b: remove devpriv macro

This macro relies on a local variable having a specific name.

Also, remove the kfree in the detach. The comedi core handles
the kfree of dev->private.

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