Skip to content

Commit 9cfb800

Browse files
committed
Merge tag 'omap-for-v6.9/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into soc/arm
Kerneldoc warning fixes for omaps for v6.9 A series of kerneldoc warning fixes for omaps from Randy. * tag 'omap-for-v6.9/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP2+: fix kernel-doc warnings ARM: OMAP2+: fix kernel-doc warnings ARM: OMAP2+: fix a kernel-doc warning ARM: OMAP2+: PRM: fix kernel-doc warnings ARM: OMAP2+: prm44xx: fix a kernel-doc warning ARM: OMAP2+: pmic-cpcap: fix kernel-doc warnings ARM: OMAP2+: hwmod: fix kernel-doc warnings ARM: OMAP2+: hwmod: remove misuse of kernel-doc ARM: OMAP2+: CMINST: use matching function name in kernel-doc ARM: OMAP2+: cm33xx: use matching function name in kernel-doc ARM: OMAP2+: clock: fix a function name in kernel-doc ARM: OMAP2+: clockdomain: fix kernel-doc warnings ARM: OMAP2+: am33xx-restart: fix function name in kernel-doc Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents d741a2d + c6e33ed commit 9cfb800

13 files changed

+36
-31
lines changed

arch/arm/mach-omap2/am33xx-restart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "prm.h"
1010

1111
/**
12-
* am3xx_restart - trigger a software restart of the SoC
12+
* am33xx_restart - trigger a software restart of the SoC
1313
* @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
1414
* @cmd: passed from the userspace program rebooting the system (if provided)
1515
*

arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static int omap2_select_table_rate(struct clk_hw *hw, unsigned long rate,
162162
}
163163

164164
/**
165-
* omap2xxx_clkt_vps_check_bootloader_rate - determine which of the rate
165+
* omap2xxx_clkt_vps_check_bootloader_rates - determine which of the rate
166166
* table sets matches the current CORE DPLL hardware rate
167167
*
168168
* Check the MPU rate set by bootloader. Sets the 'curr_prcm_set'

arch/arm/mach-omap2/clockdomain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ void clkdm_allow_idle(struct clockdomain *clkdm)
990990
}
991991

992992
/**
993-
* clkdm_deny_idle - disable hwsup idle transitions for clkdm
993+
* clkdm_deny_idle_nolock - disable hwsup idle transitions for clkdm
994994
* @clkdm: struct clockdomain *
995995
*
996996
* Prevent the hardware from automatically switching the clockdomain
@@ -1110,7 +1110,7 @@ void clkdm_del_autodeps(struct clockdomain *clkdm)
11101110
/**
11111111
* clkdm_clk_enable - add an enabled downstream clock to this clkdm
11121112
* @clkdm: struct clockdomain *
1113-
* @clk: struct clk * of the enabled downstream clock
1113+
* @unused: struct clk * of the enabled downstream clock
11141114
*
11151115
* Increment the usecount of the clockdomain @clkdm and ensure that it
11161116
* is awake before @clk is enabled. Intended to be called by

arch/arm/mach-omap2/cm33xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ static int am33xx_clkdm_save_context(struct clockdomain *clkdm)
357357
}
358358

359359
/**
360-
* am33xx_restore_save_context - Restore the clockdomain transition context
360+
* am33xx_clkdm_restore_context - Restore the clockdomain transition context
361361
* @clkdm: The clockdomain pointer whose context needs to be restored
362362
*
363363
* Restore the clockdomain transition context.

arch/arm/mach-omap2/cminst44xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static void omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs)
237237
}
238238

239239
/**
240-
* omap4_cminst_clkdm_force_sleep - try to take a clockdomain out of idle
240+
* omap4_cminst_clkdm_force_wakeup - try to take a clockdomain out of idle
241241
* @part: PRCM partition ID that the clockdomain registers exist in
242242
* @inst: CM instance register offset (*_INST macro)
243243
* @cdoffs: Clockdomain register offset (*_CDOFFS macro)

arch/arm/mach-omap2/omap-secure.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void __init omap_optee_init_check(void)
4747
}
4848

4949
/**
50-
* omap_sec_dispatcher: Routine to dispatch low power secure
50+
* omap_secure_dispatcher - Routine to dispatch low power secure
5151
* service routines
5252
* @idx: The HAL API index
5353
* @flag: The flag indicating criticality of operation
@@ -183,7 +183,7 @@ static u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
183183
/**
184184
* rx51_secure_update_aux_cr: Routine to modify the contents of Auxiliary Control Register
185185
* @set_bits: bits to set in ACR
186-
* @clr_bits: bits to clear in ACR
186+
* @clear_bits: bits to clear in ACR
187187
*
188188
* Return the non-zero error value on failure.
189189
*/

arch/arm/mach-omap2/omap_hwmod.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ static int _init_interface_clks(struct omap_hwmod *oh)
900900
}
901901

902902
/**
903-
* _init_opt_clk - get a struct clk * for the hwmod's optional clocks
903+
* _init_opt_clks - get a struct clk * for the hwmod's optional clocks
904904
* @oh: struct omap_hwmod *
905905
*
906906
* Called from _init_clocks(). Populates the @oh omap_hwmod_opt_clk
@@ -2297,7 +2297,7 @@ static void __init parse_module_flags(struct omap_hwmod *oh,
22972297
/**
22982298
* _init - initialize internal data for the hwmod @oh
22992299
* @oh: struct omap_hwmod *
2300-
* @n: (unused)
2300+
* @data: (unused)
23012301
*
23022302
* Look up the clocks and the address space used by the MPU to access
23032303
* registers belonging to the hwmod @oh. @oh must already be
@@ -2493,7 +2493,7 @@ static void _setup_postsetup(struct omap_hwmod *oh)
24932493
/**
24942494
* _setup - prepare IP block hardware for use
24952495
* @oh: struct omap_hwmod *
2496-
* @n: (unused, pass NULL)
2496+
* @data: (unused, pass NULL)
24972497
*
24982498
* Configure the IP block represented by @oh. This may include
24992499
* enabling the IP block, resetting it, and placing it into a
@@ -3367,8 +3367,9 @@ static int omap_hwmod_check_module(struct device *dev,
33673367
* omap_hwmod_allocate_module - allocate new module
33683368
* @dev: struct device
33693369
* @oh: module
3370+
* @data: module data
33703371
* @sysc_fields: sysc register bits
3371-
* @clockdomain: clockdomain
3372+
* @clkdm: clockdomain
33723373
* @rev_offs: revision register offset
33733374
* @sysc_offs: sysconfig register offset
33743375
* @syss_offs: sysstatus register offset

arch/arm/mach-omap2/omap_hwmod_common_data.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include "omap_hwmod_common_data.h"
2222

23-
/**
23+
/*
2424
* struct omap_hwmod_sysc_type1 - TYPE1 sysconfig scheme.
2525
*
2626
* To be used by hwmod structure to specify the sysconfig offsets
@@ -36,7 +36,7 @@ struct sysc_regbits omap_hwmod_sysc_type1 = {
3636
.autoidle_shift = SYSC_TYPE1_AUTOIDLE_SHIFT,
3737
};
3838

39-
/**
39+
/*
4040
* struct omap_hwmod_sysc_type2 - TYPE2 sysconfig scheme.
4141
*
4242
* To be used by hwmod structure to specify the sysconfig offsets if the
@@ -50,7 +50,7 @@ struct sysc_regbits omap_hwmod_sysc_type2 = {
5050
.dmadisable_shift = SYSC_TYPE2_DMADISABLE_SHIFT,
5151
};
5252

53-
/**
53+
/*
5454
* struct omap_hwmod_sysc_type3 - TYPE3 sysconfig scheme.
5555
* Used by some IPs on AM33xx
5656
*/

arch/arm/mach-omap2/pmic-cpcap.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
#include "vc.h"
1919

2020
/**
21-
* omap_cpcap_vsel_to_vdc - convert CPCAP VSEL value to microvolts DC
21+
* omap_cpcap_vsel_to_uv - convert CPCAP VSEL value to microvolts DC
2222
* @vsel: CPCAP VSEL value to convert
2323
*
24-
* Returns the microvolts DC that the CPCAP PMIC should generate when
24+
* Returns: the microvolts DC that the CPCAP PMIC should generate when
2525
* programmed with @vsel.
2626
*/
2727
static unsigned long omap_cpcap_vsel_to_uv(unsigned char vsel)
@@ -35,7 +35,7 @@ static unsigned long omap_cpcap_vsel_to_uv(unsigned char vsel)
3535
* omap_cpcap_uv_to_vsel - convert microvolts DC to CPCAP VSEL value
3636
* @uv: microvolts DC to convert
3737
*
38-
* Returns the VSEL value necessary for the CPCAP PMIC to
38+
* Returns: the VSEL value necessary for the CPCAP PMIC to
3939
* generate an output voltage equal to or greater than @uv microvolts DC.
4040
*/
4141
static unsigned char omap_cpcap_uv_to_vsel(unsigned long uv)
@@ -82,10 +82,10 @@ static struct omap_voltdm_pmic omap_cpcap_iva = {
8282
};
8383

8484
/**
85-
* omap_max8952_vsel_to_vdc - convert MAX8952 VSEL value to microvolts DC
85+
* omap_max8952_vsel_to_uv - convert MAX8952 VSEL value to microvolts DC
8686
* @vsel: MAX8952 VSEL value to convert
8787
*
88-
* Returns the microvolts DC that the MAX8952 Regulator should generate when
88+
* Returns: the microvolts DC that the MAX8952 Regulator should generate when
8989
* programmed with @vsel.
9090
*/
9191
static unsigned long omap_max8952_vsel_to_uv(unsigned char vsel)
@@ -99,7 +99,7 @@ static unsigned long omap_max8952_vsel_to_uv(unsigned char vsel)
9999
* omap_max8952_uv_to_vsel - convert microvolts DC to MAX8952 VSEL value
100100
* @uv: microvolts DC to convert
101101
*
102-
* Returns the VSEL value necessary for the MAX8952 Regulator to
102+
* Returns: the VSEL value necessary for the MAX8952 Regulator to
103103
* generate an output voltage equal to or greater than @uv microvolts DC.
104104
*/
105105
static unsigned char omap_max8952_uv_to_vsel(unsigned long uv)
@@ -129,10 +129,10 @@ static struct omap_voltdm_pmic omap443x_max8952_mpu = {
129129
};
130130

131131
/**
132-
* omap_fan5355_vsel_to_vdc - convert FAN535503 VSEL value to microvolts DC
132+
* omap_fan535503_vsel_to_uv - convert FAN535503 VSEL value to microvolts DC
133133
* @vsel: FAN535503 VSEL value to convert
134134
*
135-
* Returns the microvolts DC that the FAN535503 Regulator should generate when
135+
* Returns: the microvolts DC that the FAN535503 Regulator should generate when
136136
* programmed with @vsel.
137137
*/
138138
static unsigned long omap_fan535503_vsel_to_uv(unsigned char vsel)
@@ -144,10 +144,10 @@ static unsigned long omap_fan535503_vsel_to_uv(unsigned char vsel)
144144
}
145145

146146
/**
147-
* omap_fan535508_vsel_to_vdc - convert FAN535508 VSEL value to microvolts DC
147+
* omap_fan535508_vsel_to_uv - convert FAN535508 VSEL value to microvolts DC
148148
* @vsel: FAN535508 VSEL value to convert
149149
*
150-
* Returns the microvolts DC that the FAN535508 Regulator should generate when
150+
* Returns: the microvolts DC that the FAN535508 Regulator should generate when
151151
* programmed with @vsel.
152152
*/
153153
static unsigned long omap_fan535508_vsel_to_uv(unsigned char vsel)
@@ -165,7 +165,7 @@ static unsigned long omap_fan535508_vsel_to_uv(unsigned char vsel)
165165
* omap_fan535503_uv_to_vsel - convert microvolts DC to FAN535503 VSEL value
166166
* @uv: microvolts DC to convert
167167
*
168-
* Returns the VSEL value necessary for the MAX8952 Regulator to
168+
* Returns: the VSEL value necessary for the MAX8952 Regulator to
169169
* generate an output voltage equal to or greater than @uv microvolts DC.
170170
*/
171171
static unsigned char omap_fan535503_uv_to_vsel(unsigned long uv)
@@ -184,7 +184,7 @@ static unsigned char omap_fan535503_uv_to_vsel(unsigned long uv)
184184
* omap_fan535508_uv_to_vsel - convert microvolts DC to FAN535508 VSEL value
185185
* @uv: microvolts DC to convert
186186
*
187-
* Returns the VSEL value necessary for the MAX8952 Regulator to
187+
* Returns: the VSEL value necessary for the MAX8952 Regulator to
188188
* generate an output voltage equal to or greater than @uv microvolts DC.
189189
*/
190190
static unsigned char omap_fan535508_uv_to_vsel(unsigned long uv)

arch/arm/mach-omap2/powerdomain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ static int pwrdm_save_context(struct powerdomain *pwrdm, void *unused)
11621162
}
11631163

11641164
/**
1165-
* pwrdm_save_context - restore powerdomain registers
1165+
* pwrdm_restore_context - restore powerdomain registers
11661166
*
11671167
* Restore powerdomain control registers after a suspend or resume
11681168
* event.

0 commit comments

Comments
 (0)