linux-omap.vger.kernel.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 2/7] mfd: twl-core: Fix incorrect function name twl_regcache_bypass() Lee Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ 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


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

* [PATCH 2/7] mfd: twl-core: Fix incorrect function name twl_regcache_bypass()
  2021-05-20 12:08 [PATCH 0/7] Rid W=1 warnings from MFD Lee Jones
@ 2021-05-20 12:08 ` Lee Jones
  2021-05-20 12:08 ` [PATCH 4/7] mfd: omap-usb-host: File headers are not good candidates for kernel-doc Lee Jones
  2021-05-20 12:08 ` [PATCH 5/7] mfd: omap-usb-tll: " Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2021-05-20 12:08 UTC (permalink / raw)
  To: lee.jones; +Cc: linux-kernel, Tony Lindgren, Kai Svahn, syed khasim, linux-omap

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 <tony@atomide.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Kai Svahn <kai.svahn@nokia.com>
Cc: syed khasim <x0khasim@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/twl-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.31.1


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

* [PATCH 4/7] mfd: omap-usb-host: File headers are not good candidates for kernel-doc
  2021-05-20 12:08 [PATCH 0/7] Rid W=1 warnings from MFD Lee Jones
  2021-05-20 12:08 ` [PATCH 2/7] mfd: twl-core: Fix incorrect function name twl_regcache_bypass() Lee Jones
@ 2021-05-20 12:08 ` Lee Jones
  2021-05-20 12:08 ` [PATCH 5/7] mfd: omap-usb-tll: " Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2021-05-20 12:08 UTC (permalink / raw)
  To: lee.jones
  Cc: linux-kernel, Tony Lindgren, Keshava Munegowda, Roger Quadros,
	linux-omap

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

 drivers/mfd/omap-usb-host.c:26: warning: expecting prototype for omap(). Prototype was for USBHS_DRIVER_NAME() instead

Cc: Tony Lindgren <tony@atomide.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Keshava Munegowda <keshava_mgowda@ti.com>
Cc: Roger Quadros <rogerq@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/omap-usb-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 2a3a240b4619a..787d2ae863752 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * omap-usb-host.c - The USBHS core driver for OMAP EHCI & OHCI
  *
  * Copyright (C) 2011-2013 Texas Instruments Incorporated - https://www.ti.com
-- 
2.31.1


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

* [PATCH 5/7] mfd: omap-usb-tll: File headers are not good candidates for kernel-doc
  2021-05-20 12:08 [PATCH 0/7] Rid W=1 warnings from MFD Lee Jones
  2021-05-20 12:08 ` [PATCH 2/7] mfd: twl-core: Fix incorrect function name twl_regcache_bypass() Lee Jones
  2021-05-20 12:08 ` [PATCH 4/7] mfd: omap-usb-host: File headers are not good candidates for kernel-doc Lee Jones
@ 2021-05-20 12:08 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2021-05-20 12:08 UTC (permalink / raw)
  To: lee.jones
  Cc: linux-kernel, Tony Lindgren, Keshava Munegowda, Roger Quadros,
	linux-omap

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

 drivers/mfd/omap-usb-tll.c:24: warning: expecting prototype for omap(). Prototype was for USBTLL_DRIVER_NAME() instead

Cc: Tony Lindgren <tony@atomide.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Keshava Munegowda <keshava_mgowda@ti.com>
Cc: Roger Quadros <rogerq@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/omap-usb-tll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c
index 16fad79c73f1f..080d7970a3774 100644
--- a/drivers/mfd/omap-usb-tll.c
+++ b/drivers/mfd/omap-usb-tll.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * omap-usb-tll.c - The USB TLL driver for OMAP EHCI & OHCI
  *
  * Copyright (C) 2012-2013 Texas Instruments Incorporated - https://www.ti.com
-- 
2.31.1


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

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

Thread overview: 4+ 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 2/7] mfd: twl-core: Fix incorrect function name twl_regcache_bypass() Lee Jones
2021-05-20 12:08 ` [PATCH 4/7] mfd: omap-usb-host: File headers are not good candidates for kernel-doc Lee Jones
2021-05-20 12:08 ` [PATCH 5/7] mfd: omap-usb-tll: " 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).