From: H Hartley Sweeten Date: Mon, 15 Oct 2012 17:15:52 +0000 (-0700) Subject: staging: comedi: drivers: remove remaining devpriv macros X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a1a6cf8ae5ca58171e117335b9983e3cfa2185c;p=pandora-kernel.git staging: comedi: drivers: remove remaining devpriv macros The remaining comedi drivers that still have a devpriv macro are all pretty straight forward for removing the devpriv macro. This macro relies on a local variable having a specific name. Remove its use by replacing it with a local variable where used. The inline function alloc_private(), used to kzalloc the dev->private memory, returns non-zero if there is an error. Fix all the alloc_private() calls accordingly and remove any kernel messages or obvious comments that still exist in the drivers. Leave a comment in the skel driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed