summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2026-02-10 16:50:59 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-22 15:38:30 +0300
commita718013647dcd5aca14c9a8856e1dab694e846ae (patch)
treec6ad4a5bd8e7c897e30d823503febefbc007d62b /include
parent9e4e86a604dfd06402933467578c4b79f5412b2c (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions