Rid W=1 warnings from MFD
Subsystems (4)
cover Rid W=1 warnings from MFD
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(-)
Signature · 7 lines
2.31.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/7 mfd: wm831x-core: Fix incorrect function name wm831x_reg_unlock()
Fixes the following W=1 kernel build warning(s):
drivers/mfd/wm831x-core.c:121: warning: expecting prototype for wm831x_reg_unlock(). Prototype was for wm831x_reg_lock() instead
--- drivers/mfd/wm831x-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/wm831x-core.c +1 -1
@@ -109,7 +109,7 @@ static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) }/** -* wm831x_reg_unlock: Unlock user keyed registers +* wm831x_reg_lock: Unlock user keyed registers * * The WM831x has a user key preventing writes to particularly * critical registers. This function locks those registers,
Signature · 1 line
2.31.1
Re: [PATCH 1/7] mfd: wm831x-core: Fix incorrect function name wm831x_reg_unlock()
Quoted 9 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/mfd/wm831x-core.c:121: warning: expecting prototype forwm831x_reg_unlock(). Prototype was forwm831x_reg_lock()insteadCc Lee Jones <[email protected]>Cc Mark Brown <[email protected]>Signed-off-by Lee Jones <[email protected]>---
Thanks,
Charles
PATCH 2/7 mfd: twl-core: Fix incorrect function name twl_regcache_bypass()
In reply to Lee JonesFixes 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
--- drivers/mfd/twl-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/twl-core.c +1 -1
@@ -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
Signature · 1 line
2.31.1
PATCH 3/7 mfd: db8500-prcmu: Fix multiple incorrectly documented function names
In reply to Lee JonesFixes 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
--- drivers/mfd/db8500-prcmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/mfd/db8500-prcmu.c +3 -3
@@ -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 ) {
Signature · 7 lines
2.31.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 4/7 mfd: omap-usb-host: File headers are not good candidates for kernel-doc
In reply to Lee JonesFixes 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
--- drivers/mfd/omap-usb-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/omap-usb-host.c +1 -1
@@ -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
Signature · 1 line
2.31.1
PATCH 5/7 mfd: omap-usb-tll: File headers are not good candidates for kernel-doc
In reply to Lee JonesFixes 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
--- drivers/mfd/omap-usb-tll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/omap-usb-tll.c +1 -1
@@ -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
Signature · 1 line
2.31.1
PATCH 6/7 mfd: si476x-cmd: Fix a bunch of incorrectly documented function names
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/mfd/si476x-cmd.c:406: warning: expecting prototype for si476x_cmd_func_info(). Prototype was for si476x_core_cmd_func_info() instead drivers/mfd/si476x-cmd.c:437: warning: expecting prototype for si476x_cmd_set_property(). Prototype was for si476x_core_cmd_set_property() instead drivers/mfd/si476x-cmd.c:463: warning: expecting prototype for si476x_cmd_get_property(). Prototype was for si476x_core_cmd_get_property() instead drivers/mfd/si476x-cmd.c:525: warning: expecting prototype for si476x_cmd_dig_audio_pin_cfg(). Prototype was for si476x_core_cmd_dig_audio_pin_cfg() instead drivers/mfd/si476x-cmd.c:574: warning: expecting prototype for si476x_cmd_zif_pin_cfg(). Prototype was for si476x_core_cmd_zif_pin_cfg() instead drivers/mfd/si476x-cmd.c:631: warning: expecting prototype for si476x_cmd_ic_link_gpo_ctl_pin_cfg(). Prototype was for si476x_core_cmd_ic_link_gpo_ctl_pin_cfg() instead drivers/mfd/si476x-cmd.c:662: warning: expecting prototype for si476x_cmd_ana_audio_pin_cfg(). Prototype was for si476x_core_cmd_ana_audio_pin_cfg() instead drivers/mfd/si476x-cmd.c:697: warning: expecting prototype for si476x_cmd_intb_pin_cfg(). Prototype was for si476x_core_cmd_intb_pin_cfg_a10() instead drivers/mfd/si476x-cmd.c:742: warning: expecting prototype for si476x_cmd_am_rsq_status(). Prototype was for si476x_core_cmd_am_rsq_status() instead drivers/mfd/si476x-cmd.c:874: warning: expecting prototype for si476x_cmd_fm_seek_start(). Prototype was for si476x_core_cmd_fm_seek_start() instead drivers/mfd/si476x-cmd.c:905: warning: expecting prototype for si476x_cmd_fm_rds_status(). Prototype was for si476x_core_cmd_fm_rds_status() instead drivers/mfd/si476x-cmd.c:1050: warning: expecting prototype for si476x_cmd_am_seek_start(). Prototype was for si476x_core_cmd_am_seek_start() instead
--- drivers/mfd/si476x-cmd.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
drivers/mfd/si476x-cmd.c +12 -12
@@ -390,7 +390,7 @@ static int si476x_cmd_tune_seek_freq(struct si476x_core *core, }/** -* si476x_cmd_func_info() - send 'FUNC_INFO' command to the device +* si476x_core_cmd_func_info() - send 'FUNC_INFO' command to the device * @core: device to send the command to * @info: struct si476x_func_info to fill all the information * returned by the command
@@ -424,7 +424,7 @@ int si476x_core_cmd_func_info(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_cmd_func_info);/** -* si476x_cmd_set_property() - send 'SET_PROPERTY' command to the device +* si476x_core_cmd_set_property() - send 'SET_PROPERTY' command to the device * @core: device to send the command to * @property: property address * @value: property value
@@ -452,7 +452,7 @@ int si476x_core_cmd_set_property(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_cmd_set_property);/** -* si476x_cmd_get_property() - send 'GET_PROPERTY' command to the device +* si476x_core_cmd_get_property() - send 'GET_PROPERTY' command to the device * @core: device to send the command to * @property: property address *
@@ -481,7 +481,7 @@ int si476x_core_cmd_get_property(struct si476x_core *core, u16 property)EXPORT_SYMBOL_GPL (si476x_core_cmd_get_property);/** -* si476x_cmd_dig_audio_pin_cfg() - send 'DIG_AUDIO_PIN_CFG' command to +* si476x_core_cmd_dig_audio_pin_cfg() - send 'DIG_AUDIO_PIN_CFG' command to * the device * @core: device to send the command to * @dclk: DCLK pin function configuration:
@@ -539,7 +539,7 @@ int si476x_core_cmd_dig_audio_pin_cfg(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_cmd_dig_audio_pin_cfg);/** -* si476x_cmd_zif_pin_cfg - send 'ZIF_PIN_CFG_COMMAND' +* si476x_core_cmd_zif_pin_cfg - send 'ZIF_PIN_CFG_COMMAND' * @core: - device to send the command to * @iqclk: - IQCL pin function configuration: * SI476X_IQCLK_NOOP - do not modify the behaviour
@@ -588,7 +588,7 @@ int si476x_core_cmd_zif_pin_cfg(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_cmd_zif_pin_cfg);/** -* si476x_cmd_ic_link_gpo_ctl_pin_cfg - send +* si476x_core_cmd_ic_link_gpo_ctl_pin_cfg - send * 'IC_LINK_GPIO_CTL_PIN_CFG' comand to the device * @core: - device to send the command to * @icin: - ICIN pin function configuration:
@@ -645,7 +645,7 @@ int si476x_core_cmd_ic_link_gpo_ctl_pin_cfg(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_cmd_ic_link_gpo_ctl_pin_cfg);/** -* si476x_cmd_ana_audio_pin_cfg - send 'ANA_AUDIO_PIN_CFG' to the +* si476x_core_cmd_ana_audio_pin_cfg - send 'ANA_AUDIO_PIN_CFG' to the * device * @core: - device to send the command to * @lrout: - LROUT pin function configuration:
@@ -674,7 +674,7 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_ana_audio_pin_cfg);/** -* si476x_cmd_intb_pin_cfg - send 'INTB_PIN_CFG' command to the device +* si476x_core_cmd_intb_pin_cfg_a10 - send 'INTB_PIN_CFG' command to the device * @core: - device to send the command to * @intb: - INTB pin function configuration: * SI476X_INTB_NOOP - do not modify the behaviour
@@ -726,7 +726,7 @@ static int si476x_core_cmd_intb_pin_cfg_a20(struct si476x_core *core,/** -* si476x_cmd_am_rsq_status - send 'AM_RSQ_STATUS' command to the +* si476x_core_cmd_am_rsq_status - send 'AM_RSQ_STATUS' command to the * device * @core: - device to send the command to * @rsqargs: - pointer to a structure containing a group of sub-args
@@ -856,7 +856,7 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_am_acf_status);/** -* si476x_cmd_fm_seek_start - send 'FM_SEEK_START' command to the +* si476x_core_cmd_fm_seek_start - send 'FM_SEEK_START' command to the * device * @core: - device to send the command to * @seekup: - if set the direction of the search is 'up'
@@ -884,7 +884,7 @@ int si476x_core_cmd_fm_seek_start(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_cmd_fm_seek_start);/** -* si476x_cmd_fm_rds_status - send 'FM_RDS_STATUS' command to the +* si476x_core_cmd_fm_rds_status - send 'FM_RDS_STATUS' command to the * device * @core: - device to send the command to * @status_only: - if set the data is not removed from RDSFIFO,
@@ -1032,7 +1032,7 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_fm_phase_div_status);/** -* si476x_cmd_am_seek_start - send 'FM_SEEK_START' command to the +* si476x_core_cmd_am_seek_start - send 'FM_SEEK_START' command to the * device * @core: - device to send the command to * @seekup: - if set the direction of the search is 'up'
Signature · 1 line
2.31.1
PATCH 7/7 mfd: si476x-i2c: Fix incorrectly documented function names
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/mfd/si476x-i2c.c:360: warning: expecting prototype for si476x_drain_rds_fifo(). Prototype was for si476x_core_drain_rds_fifo() instead drivers/mfd/si476x-i2c.c:467: warning: expecting prototype for si476x_get_status(). Prototype was for si476x_core_get_status() instead drivers/mfd/si476x-i2c.c:484: warning: expecting prototype for si476x_get_and_signal_status(). Prototype was for si476x_core_get_and_signal_status() instead drivers/mfd/si476x-i2c.c:555: warning: expecting prototype for si476x_firmware_version_to_revision(). Prototype was for si476x_core_fwver_to_revision() instead drivers/mfd/si476x-i2c.c:619: warning: expecting prototype for si476x_get_revision_info(). Prototype was for si476x_core_get_revision_info() instead
--- drivers/mfd/si476x-i2c.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/mfd/si476x-i2c.c +5 -5
@@ -350,7 +350,7 @@ static inline void si476x_core_start_rds_drainer_once(struct si476x_core *core)mutex_unlock (&core->rds_drainer_status_lock); }/** -* si476x_drain_rds_fifo() - RDS buffer drainer. +* si476x_core_drain_rds_fifo() - RDS buffer drainer. * @work: struct work_struct being ppassed to the function by the * kernel. *
@@ -454,7 +454,7 @@ int si476x_core_i2c_xfer(struct si476x_core *core,EXPORT_SYMBOL_GPL (si476x_core_i2c_xfer);/** -* si476x_get_status() +* si476x_core_get_status() * @core: Core device structure * * Get the status byte of the core device by berforming one byte I2C
@@ -473,7 +473,7 @@ static int si476x_core_get_status(struct si476x_core *core) }/** -* si476x_get_and_signal_status() - IRQ dispatcher +* si476x_core_get_and_signal_status() - IRQ dispatcher * @core: Core device structure * * Dispatch the arrived interrupt request based on the value of the
@@ -532,7 +532,7 @@ static irqreturn_t si476x_core_interrupt(int irq, void *dev) }/** -* si476x_firmware_version_to_revision() +* si476x_core_fwver_to_revision() * @core: Core device structure * @func: Selects the boot function of the device: * *_BOOTLOADER - Boot loader
@@ -603,7 +603,7 @@ static int si476x_core_fwver_to_revision(struct si476x_core *core, }/** -* si476x_get_revision_info() +* si476x_core_get_revision_info() * @core: Core device structure * * Get the firmware version number of the device. It is done in
Signature · 1 line
2.31.1