diff options
| author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-08-13 18:50:16 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-08-13 18:50:16 +0200 |
| commit | ecdf7e7a1d669bc25e13e21b7beb8814f4636bdc (patch) | |
| tree | 1f038c2c5a5c7df61b2ce40ff16fc9a24dee0fd5 /include/linux | |
| parent | 27a8ff4648f5f733026f43d991f651d5724bfa90 (diff) | |
| parent | 0402e8ebb8b869e375e8af7243044df21b5ff378 (diff) | |
Merge tag 'ib-mt6360-for-5.15-signed' into psy-next
Immutable branch between regulator and power-supply for for 5.15
This immutable branch introduces the MT6360 charger driver,
which requires a new linear range helper.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/linear_range.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/linear_range.h b/include/linux/linear_range.h index 17b5943727d5..fd3d0b358f22 100644 --- a/include/linux/linear_range.h +++ b/include/linux/linear_range.h @@ -41,6 +41,8 @@ int linear_range_get_selector_low(const struct linear_range *r, int linear_range_get_selector_high(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found); +void linear_range_get_selector_within(const struct linear_range *r, + unsigned int val, unsigned int *selector); int linear_range_get_selector_low_array(const struct linear_range *r, int ranges, unsigned int val, unsigned int *selector, bool *found); |
