Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: accel: sca3000: Use sign_extend32() instead of opencoding sign e…
…xtension. Whilst nice to get rid of this non obvious code, this also clears a static checker warning: drivers/iio/accel/sca3000.c:734 sca3000_read_raw() warn: no-op. '((*val) << 19) >> 19' Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Lars-Peter Clausen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information