Chris Packham b5f045e12f include: kernel.h: port find_closest() from Linux
The find_closest() macro can be used to find an element in a sorted
array that is closest to an input value. Bring in this macro from
Linux v6.3-rc1-2-g8ca09d5fa354.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-03-30 15:09:59 -04:00
..
2023-02-07 14:33:49 -05:00
2022-07-12 21:59:54 +02:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2021-11-23 09:57:55 +02:00
2022-11-28 10:25:17 -05:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2022-01-19 18:11:34 +01:00