summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJoshua Crofts <joshua.crofts1@gmail.com>2026-07-14 17:36:48 +0200
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-07-20 02:47:44 +0100
commit176790d0d6e78026eb350de8a5943b289db82bd0 (patch)
tree656c3b39621dc4e11b60ba86dd100c80ed2999c2 /include/linux
parent1c286917a27aa72e4486eca79e0cdab8d67717b3 (diff)
iio: light: opt3001: split opt3001_get_processed() logic
Split the logic inside the opt3001_get_processed() function, as the current flow is hard to read, mixing IRQ and non-IRQ code blocks. Separate the IRQ code path into its own function, same for the non-IRQ path. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions