iio: pressure: hsc030pa: use signed type to hold div_64() result
authorPetre Rodan <petre.rodan@subdimension.ro>
Sun, 11 Feb 2024 07:56:33 +0000 (09:56 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 19 Feb 2024 19:32:22 +0000 (19:32 +0000)
commit66b53cb790e794b180cbd4d6bffa34dadbc7ab3d
treeed61407291d8dd41ace788c8e2c947e607708360
parent158b48c8648b105577179122734280e2c3abe6e1
iio: pressure: hsc030pa: use signed type to hold div_64() result

Use signed type to variable holding the result given by div_s64().

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Link: https://lore.kernel.org/r/20240211075645.28777-3-petre.rodan@subdimension.ro
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/hsc030pa.c