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:50 -05:00
2023-02-09 16:32:25 -05:00
2023-03-03 09:49:03 -05:00
2023-03-25 11:07:22 +01:00
2023-02-19 21:15:15 +01:00
2023-02-06 13:04:52 -05:00
2023-02-09 16:32:25 -05:00
2023-03-13 13:53:01 +01:00
2023-02-06 13:04:53 -05:00
2023-03-02 17:45:58 -05:00
2023-02-02 14:44:53 -05:00
2023-02-10 07:41:40 -05:00
2023-02-11 12:22:34 -05:00