staging: comedi: comedi_fops: fix a number of sizeof(struct foo) forms
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 19 Dec 2012 22:42:02 +0000 (15:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:25:48 +0000 (14:25 -0800)
commitbc252fd12c9430a011497d3726fad47683d58dc0
tree4ce812532a8aa37137b4f30452950c166cf751be
parent76cca89f4b032abad514c0821be35d999c9707ce
staging: comedi: comedi_fops: fix a number of sizeof(struct foo) forms

As mentioned in CodingStyle, the prefered form is:

p = kmalloc(sizeof(*p), ...);

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