• Randy Dunlap's avatar
    ARM: OMAP2+: hwmod: fix kernel-doc warnings · 176a16fa
    Randy Dunlap authored
    Use the correct function name in a kernel-doc comment.
    Use the correct function parameter names in kernel-doc comments.
    These changes prevent the following warnings:
    
    omap_hwmod.c:910: warning: expecting prototype for _init_opt_clk(). Prototype was for _init_opt_clks() instead
    omap_hwmod.c:2311: warning: Excess function parameter 'n' description in '_init'
    omap_hwmod.c:2510: warning: Excess function parameter 'n' description in '_setup'
    omap_hwmod.c:3387: warning: Excess function parameter 'clockdomain' description in 'omap_hwmod_allocate_module'
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: "Benoît Cousson" <bcousson@baylibre.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: linux-omap@vger.kernel.org
    Cc: Russell King <linux@armlinux.org.uk>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: patches@armlinux.org.uk
    Message-ID: <20240117011004.22669-8-rdunlap@infradead.org>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    176a16fa
omap_hwmod.c 109 KB