gpadc: fix logic err of last addr checking
authorBin Yang <bin.yang@intel.com>
Thu, 6 Oct 2011 15:18:32 +0000 (16:18 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:17:22 +0000 (13:17 -0800)
commit424e7e9f10fac751c712d2e3e5d15b4e91450909
tree19a26978310d351f977aa76c97f1937df3eb1ad7
parent6f9d7a8e1c2426a9826fee41a13288844183e661
gpadc: fix logic err of last addr checking

it has logic error to check last addr which is used.

Change-Id: Ia5ec6610b60a402166349369bf03918ec6e89eb4
Signed-off-by: Bin Yang <bin.yang@intel.com>
drivers/hwmon/intel_mid_gpadc.c