From: Lee Jones Date: Wed, 31 Mar 2021 08:10:18 +0000 (+0100) Subject: mfd: twl-core: Fix incorrect function name twl_regcache_bypass() X-Git-Tag: v5.14-rc1~70^2~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b31ec3de743d8e438a35b048d01530ebb9d12e4;p=thirdparty%2Flinux.git mfd: twl-core: Fix incorrect function name twl_regcache_bypass() Fixes the following W=1 kernel build warning(s): drivers/mfd/twl-core.c:496: warning: expecting prototype for twl_regcache_bypass(). Prototype was for twl_set_regcache_bypass() instead Cc: Tony Lindgren Cc: Lee Jones Cc: Kai Svahn Cc: syed khasim Cc: linux-omap@vger.kernel.org Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 20cf8cfe4f3b5..289b556dede28 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -485,7 +485,7 @@ 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 + * twl_set_regcache_bypass - Configure the regcache bypass for the regmap associated * with the module * @mod_no: module number * @enable: Regcache bypass state