]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio:magn:mmc35240: Drop unnecessary casts of val parameter in regmap_bulk*
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Apr 2020 18:03:20 +0000 (19:03 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:40 +0000 (16:56 +0100)
commit06c482605b13626e3ca3e5adf48611ebf0e883d1
tree8e97549c687226a45b41936c86c49ac19a279a63
parentd7d3a1327b8a90c826bd1dd9bdf2d5ccb969b6b6
iio:magn:mmc35240: Drop unnecessary casts of val parameter in regmap_bulk*

Given the parameter is void *, casting to u8 * is unnecessary.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/magnetometer/mmc35240.c