Message ID | 20210526124711.33223-8-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Simplify + drop board file support for Samsung PMIC | expand |
On Wed, 26 May 2021, Krzysztof Kozlowski wrote: > Correct kerneldoc function name to fix W=1 warning: > > drivers/mfd/twl-core.c:496: warning: > expecting prototype for twl_regcache_bypass(). Prototype was for twl_set_regcache_bypass() instead > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > drivers/mfd/twl-core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) And this: https://lore.kernel.org/lkml/20210520120820.3465562-3-lee.jones@linaro.org/ > diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c > index 20cf8cfe4f3b..24b77b18b725 100644 > --- a/drivers/mfd/twl-core.c > +++ b/drivers/mfd/twl-core.c > @@ -485,8 +485,8 @@ int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) > EXPORT_SYMBOL(twl_i2c_read); > > /** > - * twl_regcache_bypass - Configure the regcache bypass for the regmap associated > - * with the module > + * twl_set_regcache_bypass - Configure the regcache bypass for the regmap > + * associated with the module > * @mod_no: module number > * @enable: Regcache bypass state > *
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 20cf8cfe4f3b..24b77b18b725 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -485,8 +485,8 @@ int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) EXPORT_SYMBOL(twl_i2c_read); /** - * twl_regcache_bypass - Configure the regcache bypass for the regmap associated - * with the module + * twl_set_regcache_bypass - Configure the regcache bypass for the regmap + * associated with the module * @mod_no: module number * @enable: Regcache bypass state *
Correct kerneldoc function name to fix W=1 warning: drivers/mfd/twl-core.c:496: warning: expecting prototype for twl_regcache_bypass(). Prototype was for twl_set_regcache_bypass() instead Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- drivers/mfd/twl-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)