diff options
| author | Neel Bullywon <neelb2403@gmail.com> | 2026-02-16 04:54:53 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-23 11:24:23 +0300 |
| commit | d1fa7b316b9fc8f11f8158b1beda9150165a377c (patch) | |
| tree | fdce5678cbac1fbc4e0a71ecb5eaab111fd7f8f4 /include/uapi | |
| parent | e3310a32e0573ade05ae09521b17c1463753e872 (diff) | |
| download | linux-d1fa7b316b9fc8f11f8158b1beda9150165a377c.tar.xz | |
iio: magnetometer: bmc150_magn: replace msleep with fsleep
Replace msleep(5) with fsleep(5 * USEC_PER_MSEC) to allow the kernel
to select the most appropriate delay mechanism based on duration.
Using USEC_PER_MSEC makes the unit conversion explicit.
Signed-off-by: Neel Bullywon <neelb2403@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
