summaryrefslogtreecommitdiff
path: root/include/drm/drm_rect.h
diff options
context:
space:
mode:
authorNicolas Pitre <npitre@baylibre.com>2024-04-02 06:25:45 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-04-23 13:40:30 +0300
commit11e6f4c3144743b2b2c26a5cd58ae3696379b3ab (patch)
tree858f4df1e322efdca189fb94b38cc9d2f9150833 /include/drm/drm_rect.h
parent684cbb49f9ceed6be0f33dac9d62089e7cd1c032 (diff)
downloadlinux-11e6f4c3144743b2b2c26a5cd58ae3696379b3ab.tar.xz
thermal/drivers/mediatek/lvts_thermal: Allow early empty sensor slots
Some systems don't always populate sensor controller slots starting at slot 0. Use a bitmap instead of a count to indicate valid sensor slots. Also create a pretty iterator for that. About that iterator: it causes checkpatch to complain with "ERROR: Macros with multiple statements should be enclosed in a do - while loop". However this is not possible here. And many similar iterators do exist using the same form in the tree already. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20240402032729.2736685-12-nico@fluxnic.net
Diffstat (limited to 'include/drm/drm_rect.h')
0 files changed, 0 insertions, 0 deletions