diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-09-04 21:45:43 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-09-30 09:21:02 +0100 |
commit | 482447fd6f20b9b04a36e0555f67d646be875392 (patch) | |
tree | 5020097adc53e419b32e1badd1a38c44f67fba03 /drivers/cdrom | |
parent | 1d5623130fd438abd6225672b33de35cf9b468d7 (diff) |
iio: imu: inv_mpu6050: Use upper_16_bits()/lower_16_bits() helpers
Use upper_16_bits()/lower_16_bits() helpers instead of open-coding them.
This is easier to scan quickly compared to bitwise manipulation, and
it is pleasingly symmetric.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://patch.msgid.link/20240904184543.1219866-1-andy.shevchenko@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions