summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2026-05-20 13:16:31 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2026-05-24 20:42:10 +0200
commit83c1d176fbac3c3ffbeaddbc37e11e083f19cebc (patch)
tree31e42c89f9026bf87dbe65100fdb354d42bef383 /drivers/memory
parent0a783a6686c96847d74874dbea38fa0e6b1f6c12 (diff)
downloadlwn-83c1d176fbac3c3ffbeaddbc37e11e083f19cebc.tar.gz
lwn-83c1d176fbac3c3ffbeaddbc37e11e083f19cebc.zip
memory: omap-gpmc: Silence W=1 kerneldoc warnings
Recent W=1 builds print kerneldoc warnings, even though a correct kerneldoc is there: Warning: drivers/memory/omap-gpmc.c:441 Excess function parameter 'cs' description in 'get_gpmc_timing_reg' Drop additional inline comments for arguments to fix that. They are anyway not that useful. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260520111630.89365-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/omap-gpmc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index d9e13c1f9b13..958d2b0ea54a 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -432,13 +432,9 @@ static unsigned int gpmc_clk_ticks_to_ns(unsigned int ticks, int cs,
*
*/
static int get_gpmc_timing_reg(
- /* timing specifiers */
int cs, int reg, int st_bit, int end_bit, int max,
const char *name, const enum gpmc_clk_domain cd,
- /* value transform */
- int shift,
- /* format specifiers */
- bool raw, bool noval)
+ int shift, bool raw, bool noval)
{
u32 l;
int nr_bits;