diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2013-08-31 00:47:57 (GMT) |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-08-31 00:49:15 (GMT) |
commit | db15e6312efd537e2deb2cbad110c23f98704a3c (patch) | |
tree | b7da54103a78ea1815fa5f2019bbe07d87722654 /lib/audit.c | |
parent | da0a00ebc239e852a504abfce2ad98957434ae58 (diff) | |
download | linux-fsl-qoriq-db15e6312efd537e2deb2cbad110c23f98704a3c.tar.xz |
rx51_battery: Fix channel number when reading adc value
This issue was introduced in commit 8e2747f031bd "power: rx51_battery:
Replace hardcoded channels values."
Original code use channel as argument which was shifted by one in
function. After mentioned commit argument is already shifted so we need to
get index back.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions