summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-02-12 17:00:07 +0300
committerMark Brown <broonie@kernel.org>2021-02-12 17:00:07 +0300
commitf03e2a72e5e8772ba0c2a0fc4539e4ffd03d411b (patch)
treef72806419857ff7e5f5402f182f09587056c2f25 /lib
parent8571bdc21388826a6feecbee2ce432839ba17d24 (diff)
parent27866e3e8a7e93494f8374f48061aa73ee46ceb2 (diff)
downloadlinux-f03e2a72e5e8772ba0c2a0fc4539e4ffd03d411b.tar.xz
Merge remote-tracking branch 'regulator/for-5.12' into regulator-next
Diffstat (limited to 'lib')
-rw-r--r--lib/linear_ranges.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/linear_ranges.c b/lib/linear_ranges.c
index 9495ef3572b7..ced5c15d3f04 100644
--- a/lib/linear_ranges.c
+++ b/lib/linear_ranges.c
@@ -128,7 +128,7 @@ EXPORT_SYMBOL_GPL(linear_range_get_value_array);
* @selector: address where found selector value is updated
* @found: flag to indicate that given value was in the range
*
- * Return selector which which range value is closest match for given
+ * Return selector for which range value is closest match for given
* input value. Value is matching if it is equal or smaller than given
* value. If given value is in the range, then @found is set true.
*
@@ -168,11 +168,11 @@ EXPORT_SYMBOL_GPL(linear_range_get_selector_low);
* @selector: address where found selector value is updated
* @found: flag to indicate that given value was in the range
*
- * Scan array of ranges for selector which which range value matches given
+ * Scan array of ranges for selector for which range value matches given
* input value. Value is matching if it is equal or smaller than given
* value. If given value is found to be in a range scanning is stopped and
* @found is set true. If a range with values smaller than given value is found
- * but the range max is being smaller than given value, then the ranges
+ * but the range max is being smaller than given value, then the range's
* biggest selector is updated to @selector but scanning ranges is continued
* and @found is set to false.
*
@@ -209,7 +209,7 @@ EXPORT_SYMBOL_GPL(linear_range_get_selector_low_array);
* @selector: address where found selector value is updated
* @found: flag to indicate that given value was in the range
*
- * Return selector which which range value is closest match for given
+ * Return selector for which range value is closest match for given
* input value. Value is matching if it is equal or higher than given
* value. If given value is in the range, then @found is set true.
*