]> xenbits.xensource.com Git - people/iwj/linux.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 12:31:26 +0000 (13:31 +0100)
commitbe8a8e08a9ad0b04627b0cefec706a37e675061c
tree8a9a5f3ed5876d10321b8b1de2be8d1a3c765230
parent21c8e9929c8bd70b317dbc3340d69ddd68f9e1bd
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