From: Beomho Seo Date: Fri, 14 Feb 2014 10:04:00 +0000 (+0000) Subject: iio: cm32181: Change cm32181 ambient light sensor driver X-Git-Tag: v3.14-rc5~4^2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1463a166b4eafc654874528ba5e2f66dbdfb8048;p=pandora-kernel.git iio: cm32181: Change cm32181 ambient light sensor driver Integration time of cm32181 is guessed about milliseconds. But cm32181_read_als_it function return IIO_VAL_INT. So fixed to return IIO_VAL_INT_PLUS_MICRO. Next, add .write_raw_get_fmt callback function for call iio_str_to_fixpoint. v2: cm32181_write_als_id function fixed as it was. Cc: Kevin Tsai Signed-off-by: Beomho Seo Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed