]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio:adc:mcp3422 Fix incorrect scales table
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Wed, 4 Feb 2015 14:14:26 +0000 (15:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:10:58 +0000 (14:10 +0100)
commitf3b2ffcff53dbd5358c04c1d8582dcf5b3421643
tree542036511bde5599aff83a295c092d90b6827dc7
parentd3616899d426f40854d104eae0cd7dd6d13268f7
iio:adc:mcp3422 Fix incorrect scales table

commit 9e128ced3851d2802b6db870f6b2e93f449ce013 upstream.

This patch fixes uncorrect order of mcp3422_scales table, the values
was erroneously transposed.
It removes also an unused array and a wrong comment.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/mcp3422.c