iio:accel:mxc4005: Drop unnecessary explicit casts in regmap_bulk_read calls
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Apr 2020 18:03:16 +0000 (19:03 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:38 +0000 (16:56 +0100)
commitb01401a228bc4997b0d4bcb669fced448f7a15ca
treef7c8cd14a79f20684ce621fb021ac748aea85451
parent780f1c176140d04447ecce8466b8d56c77cb9f7a
iio:accel:mxc4005: Drop unnecessary explicit casts in regmap_bulk_read calls

regmap_bulk_read takes a void * for its val parameter. It certainly
makes no sense to cast to a (u8 *) + no need to explicitly cast
at all when converting another pointer type to void *.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/accel/mxc4005.c