staging:iio:dac: Fix kcalloc parameters swapped
authorAxel Lin <axel.lin@gmail.com>
Sat, 11 Feb 2012 01:00:48 +0000 (09:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2012 04:09:38 +0000 (20:09 -0800)
commit09f993e6844a0cacec2ccff72f04c4fc436a2358
treedb7a4c1fd16e7817f8571f245011d8cdf8f64f6d
parent5f01f7f301db567a7a2b99d012db1c408ce0e9de
staging:iio:dac: Fix kcalloc parameters swapped

The first parameter should be "number of elements" and the second parameter
should be "element size".

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/dac/ad5360.c
drivers/staging/iio/dac/ad5380.c