]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: ina2xx: Remove bogus cast for data argument
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Fri, 8 Dec 2017 17:41:46 +0000 (18:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:42 +0000 (16:03 +0100)
commitb1678a39e3ea1cccc9d9003edb909396f9cf390c
treea232c89f38f4304bbbcb5afc941bb98d5b4409ca
parent3f24603251a38af16bd82f703e7f68d7a5c6f189
iio: adc: ina2xx: Remove bogus cast for data argument

iio_push_to_buffers_with_timestamp expects a void pointer, so the cast
is both unnecessary and misleading.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/ina2xx-adc.c