diff options
author | Ebru Akagunduz <ebru.akagunduz@gmail.com> | 2013-10-08 15:08:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-11 20:26:13 (GMT) |
commit | c92cb53d98972da3d79f7443b6304ad6ed33dbdc (patch) | |
tree | 54ee8e93b09e90a2369f2ec6102ec7ebd9116288 /drivers/staging/iio | |
parent | 8365882373e2b2ccc302aa269342b699ef01f004 (diff) | |
download | linux-c92cb53d98972da3d79f7443b6304ad6ed33dbdc.tar.xz |
Staging: iio: fix sizeof *ring should be sizeof(*ring)
Fix checkpatch.pl issues with sizeof *ring should be sizeof(*ring)
in sca3000_ring.c
Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/accel/sca3000_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index 0f2ee33..db44240 100644 --- a/drivers/staging/iio/accel/sca3000_ring.c +++ b/drivers/staging/iio/accel/sca3000_ring.c @@ -252,7 +252,7 @@ static struct iio_buffer *sca3000_rb_allocate(struct iio_dev *indio_dev) struct iio_buffer *buf; struct iio_hw_buffer *ring; - ring = kzalloc(sizeof *ring, GFP_KERNEL); + ring = kzalloc(sizeof(*ring), GFP_KERNEL); if (!ring) return NULL; |