iio: ti_am335x_adc: optimize memory usage
authorZubair Lutfullah <zubair.lutfullah@gmail.com>
Thu, 19 Sep 2013 06:24:00 +0000 (07:24 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 10:47:53 +0000 (11:47 +0100)
commit0f6fc7d56fe56aad5410fdaa7cebbb918580a33c
treee5c360c8d25c50294690c9b009678287c65b406e
parentbaee539915e9e89bdebb369229bc0684c86feac2
iio: ti_am335x_adc: optimize memory usage

12 bit ADC data is stored in 32 bits of storage.
Change from u32 to u16 to reduce wasted memory.

Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ti_am335x_adc.c