iio: pac1921: remove unnecessary explicit casts
authorMatteo Martelli <matteomartelli3@gmail.com>
Mon, 30 Sep 2024 09:49:01 +0000 (11:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2024 11:09:15 +0000 (12:09 +0100)
commita9bb0610b2fade407d081169325b6a91312849b7
treecb5dff8ffe1d70d72fcc4ec76fd97ade5a6e22c4
parentfc04cc73c5964cc9ea55f9ebb99e935fc2878b5e
iio: pac1921: remove unnecessary explicit casts

Many explicit casts were introduced to address Wconversion and
Wsign-compare warnings. Remove them to improve readability.

Link: https://lore.kernel.org/linux-iio/1fa4ab12-0939-477d-bc92-306fd32e4fd9@stanley.mountain/
Signed-off-by: Matteo Martelli <matteomartelli3@gmail.com>
Link: https://patch.msgid.link/20240930-iio-pac1921-nocast-v2-1-cc349e137f75@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/pac1921.c