[PATCH 0/9] Fix a bunch more W=1 warnings in Regulator

From: Lee Jones
Date: Fri Jun 26 2020 - 02:57:50 EST


Attempting to clean-up W=1 kernel builds, which are currently
overwhelmingly riddled with niggly little warnings.

This is the last of them. Once applied, drivers/regulator will
be clean of W=1 warnings.

Lee Jones (9):
regulator: max8998: Staticify internal function
max8998_get_current_limit()
regulator: qcom-rpmh-regulator: Repair dodgy kerneldoc header
formatting
regulator: pwm-regulator: Demote kerneldoc header to standard comment
regulator: stpmic1_regulator: Properly document 'struct
stpmic1_regulator_cfg'
regulator: tps65217-regulator: Remove pointless 'is unsigned int <0'
check
regulator: tps65217-regulator: Use the returned value of
tps65217_reg_read()
regulator: tps65218-regulator: Remove pointless 'is unsigned int <0'
check
regulator: wm8400-regulator: Repair dodgy kerneldoc header formatting
regulator: qcom_smd-regulator: Remove unused 'struct regulator_desc
pmi8994_boost'

drivers/regulator/max8998.c | 2 +-
drivers/regulator/pwm-regulator.c | 2 +-
drivers/regulator/qcom-rpmh-regulator.c | 14 +++++++-------
drivers/regulator/qcom_smd-regulator.c | 9 ---------
drivers/regulator/stpmic1_regulator.c | 2 +-
drivers/regulator/tps65217-regulator.c | 7 +++++--
drivers/regulator/tps65218-regulator.c | 4 ++--
drivers/regulator/wm8400-regulator.c | 6 +++---
8 files changed, 20 insertions(+), 26 deletions(-)

--
2.25.1