iio:adc:mcp3422 Fix incorrect scales table
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Wed, 4 Feb 2015 14:14:26 +0000 (15:14 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 Feb 2015 16:30:22 +0000 (16:30 +0000)
commit9e128ced3851d2802b6db870f6b2e93f449ce013
tree29c354c79e624b609f96900c31f3991880be68d9
parent03305e535cd5cdc1079b32909bf4b2dd67d46f7f
iio:adc:mcp3422 Fix incorrect scales table

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>
Cc: Stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mcp3422.c