diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2011-02-24 16:34:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-28 14:40:23 -0800 |
commit | 2bf99c70cee1d9347145ec0d96ba39764e2193bc (patch) | |
tree | 4804668209ddb4c1d96e3873b569ddd9a5d77c46 /drivers/staging | |
parent | cb771cbdbdb153b68275cd5b9eca593c4e5026e8 (diff) | |
download | kernel_samsung_crespo-2bf99c70cee1d9347145ec0d96ba39764e2193bc.zip kernel_samsung_crespo-2bf99c70cee1d9347145ec0d96ba39764e2193bc.tar.gz kernel_samsung_crespo-2bf99c70cee1d9347145ec0d96ba39764e2193bc.tar.bz2 |
IIO: Documentation: iio_utils: style consistency fix
No functional changes
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/Documentation/iio_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/Documentation/iio_utils.h b/drivers/staging/iio/Documentation/iio_utils.h index 3cf01a5..4b023aa 100644 --- a/drivers/staging/iio/Documentation/iio_utils.h +++ b/drivers/staging/iio/Documentation/iio_utils.h @@ -374,7 +374,7 @@ inline int build_channel_array(const char *device_dir, } } /* reorder so that the array is in index order*/ - current = malloc(sizeof(**ci_array)**counter); + current = malloc(sizeof(**ci_array)*(*counter)); if (current == NULL) { ret = -ENOMEM; goto error_cleanup_array; |