linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Rid W=1 warnings from MFD
@ 2021-05-20 12:08 Lee Jones
  2021-05-20 12:08 ` [PATCH 3/7] mfd: db8500-prcmu: Fix multiple incorrectly documented function names Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Jones @ 2021-05-20 12:08 UTC (permalink / raw)
  To: lee.jones
  Cc: linux-kernel, Andrey Smirnov, Kai Svahn, Keshava Munegowda,
	Kumar Sanghvi, Linus Walleij, linux-arm-kernel, linux-omap,
	Mark Brown, Mattias Nilsson, patches, Roger Quadros, Sundar Iyer,
	syed khasim, Tony Lindgren

This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.

Lee Jones (7):
  mfd: wm831x-core: Fix incorrect function name wm831x_reg_unlock()
  mfd: twl-core: Fix incorrect function name twl_regcache_bypass()
  mfd: db8500-prcmu: Fix multiple incorrectly documented function names
  mfd: omap-usb-host: File headers are not good candidates for
    kernel-doc
  mfd: omap-usb-tll: File headers are not good candidates for kernel-doc
  mfd: si476x-cmd: Fix a bunch of incorrectly documented function names
  mfd: si476x-i2c: Fix incorrectly documented function names

 drivers/mfd/db8500-prcmu.c  |  6 +++---
 drivers/mfd/omap-usb-host.c |  2 +-
 drivers/mfd/omap-usb-tll.c  |  2 +-
 drivers/mfd/si476x-cmd.c    | 24 ++++++++++++------------
 drivers/mfd/si476x-i2c.c    | 10 +++++-----
 drivers/mfd/twl-core.c      |  2 +-
 drivers/mfd/wm831x-core.c   |  2 +-
 7 files changed, 24 insertions(+), 24 deletions(-)

Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Kai Svahn <kai.svahn@nokia.com>
Cc: Keshava Munegowda <keshava_mgowda@ti.com>
Cc: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-omap@vger.kernel.org
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
Cc: patches@opensource.cirrus.com
Cc: Roger Quadros <rogerq@ti.com>
Cc: Sundar Iyer <sundar.iyer@stericsson.com>
Cc: syed khasim <x0khasim@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 3/7] mfd: db8500-prcmu: Fix multiple incorrectly documented function names
  2021-05-20 12:08 [PATCH 0/7] Rid W=1 warnings from MFD Lee Jones
@ 2021-05-20 12:08 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2021-05-20 12:08 UTC (permalink / raw)
  To: lee.jones
  Cc: linux-kernel, Linus Walleij, Kumar Sanghvi, Sundar Iyer,
	Mattias Nilsson, linux-arm-kernel

Fixes the following W=1 kernel build warning(s):

 drivers/mfd/db8500-prcmu.c:624: warning: expecting prototype for prcmu_get_current_mode(). Prototype was for prcmu_get_xp70_current_state() instead
 drivers/mfd/db8500-prcmu.c:908: warning: expecting prototype for db8500_set_ape_opp(). Prototype was for db8500_prcmu_set_ape_opp() instead
 drivers/mfd/db8500-prcmu.c:2303: warning: expecting prototype for db8500_prcmu_reset_modem(). Prototype was for db8500_prcmu_modem_reset() instead

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Cc: Sundar Iyer <sundar.iyer@stericsson.com>
Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/db8500-prcmu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 167faac9b75bf..3bde7fda755f1 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -616,7 +616,7 @@ enum romcode_read prcmu_get_rc_p2a(void)
 }
 
 /**
- * prcmu_get_current_mode - Return the current XP70 power mode
+ * prcmu_get_xp70_current_state - Return the current XP70 power mode
  * Returns: Returns the current AP(ARM) power mode: init,
  * apBoot, apExecute, apDeepSleep, apSleep, apIdle, apReset
  */
@@ -898,7 +898,7 @@ static void request_even_slower_clocks(bool enable)
 }
 
 /**
- * db8500_set_ape_opp - set the appropriate APE OPP
+ * db8500_prcmu_set_ape_opp - set the appropriate APE OPP
  * @opp: The new APE operating point to which transition is to be made
  * Returns: 0 on success, non-zero on failure
  *
@@ -2297,7 +2297,7 @@ u16 db8500_prcmu_get_reset_code(void)
 }
 
 /**
- * db8500_prcmu_reset_modem - ask the PRCMU to reset modem
+ * db8500_prcmu_modem_reset - ask the PRCMU to reset modem
  */
 void db8500_prcmu_modem_reset(void)
 {
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-20 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 12:08 [PATCH 0/7] Rid W=1 warnings from MFD Lee Jones
2021-05-20 12:08 ` [PATCH 3/7] mfd: db8500-prcmu: Fix multiple incorrectly documented function names Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).