diff options
| author | Oleksij Rempel <o.rempel@pengutronix.de> | 2026-02-10 16:50:59 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-22 15:38:30 +0300 |
| commit | a718013647dcd5aca14c9a8856e1dab694e846ae (patch) | |
| tree | c6ad4a5bd8e7c897e30d823503febefbc007d62b /include/linux/device | |
| parent | 9e4e86a604dfd06402933467578c4b79f5412b2c (diff) | |
| download | linux-a718013647dcd5aca14c9a8856e1dab694e846ae.tar.xz | |
iio: dac: ds4424: refactor raw access to use bitwise operations
Refactor the raw access logic to use standard GENMASK() and BIT()
macros. Use abs() for magnitude calculation to simplify the logic and
make the data flow clearer.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/device')
0 files changed, 0 insertions, 0 deletions
