]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: comedi: pcmda12: tidy up subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Jun 2013 02:04:03 +0000 (19:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 22:35:38 +0000 (15:35 -0700)
commit4b2ebd8dea7f0cf20ce3cccc45a60dfb7853b3ea
tree3825f52191bdf134fd5fdee3d2d5f63002dabcee
parentd6b354d21a7e8d91a1b54e3532a8bf35c54ce272
staging: comedi: pcmda12: tidy up subdevice init

For aesthetic reasons. add some whitespace to the subdevice init
and reorder it a bit.

Remove the 's->private = NULL', it was kzalloc'ed by the core and
will already be NULL.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmda12.c