staging:iio:adc:ad799x address and scan_index always match so stop using address
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 30 Sep 2011 09:05:37 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:07:03 +0000 (16:07 -0700)
commit58dffaeddd2d59fc78eb2f218fda7cce81c66690
treee1920794f311b80aeca9b759b5cc3cb433e02513
parentb79c9a3c1e9868873d7c60afeeec4bccf0f2deb7
staging:iio:adc:ad799x address and scan_index always match so stop using address

Saves on setting the value of address for the simple situation seen in this
device. They are already used interchangably to get data from the buffer.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad799x_core.c