]> Pileus Git - ~andy/linux/commit
staging: comedi: gsc_hpdi: remove inline priv() function
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 15 Oct 2012 17:13:50 +0000 (10:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:57:57 +0000 (11:57 -0700)
commitaa3d94732f80d65a0d0a8a1eef6a0c1d291002bc
treeef21581dca1bf5a780c04d349ac166f2ed378e3d
parent681d335ab5819a5cca8b74bea06f2804d2cb5a81
staging: comedi: gsc_hpdi: remove inline priv() function

The inline priv() function simply returns the dev->private pointer
to the private data.

Remove the inline function and just use a local variable where the
private data is used.

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