diff options
author | Lee Jones <[email protected]> | 2020-06-26 07:57:30 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-26 15:34:18 +0100 |
commit | 36f69fa96a23a054d3aea5793ce2ef3d95907713 (patch) | |
tree | 490a8b0acc4906b2aa3e88b76d26b60cdf9e8efc /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 0c32f8aa0711af177248c2cba9cb105f18e0c9bb (diff) |
regulator: max8998: Staticify internal function max8998_get_current_limit()
max8998_get_current_limit() is only used via the .get_current_limit,
so it doesn't need to be publicly supported, or to have its own
external prototype. Instead, we'll make it static.
Fixes the following W=1 warning:
drivers/regulator/max8998.c:418:5: warning: no previous prototype for ‘max8998_get_current_limit’ [-Wmissing-prototypes]
418 | int max8998_get_current_limit(struct regulator_dev *rdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Lee Jones <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions