Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/omap: omap_irq: Fix a couple of doc-rot issues

The API has been updated, but the header was not.

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

drivers/gpu/drm/omapdrm/omap_irq.c:115: warning: Function parameter or member 'crtc' not described in 'omap_irq_enable_vblank'
drivers/gpu/drm/omapdrm/omap_irq.c:115: warning: Excess function parameter 'dev' description in 'omap_irq_enable_vblank'
drivers/gpu/drm/omapdrm/omap_irq.c:115: warning: Excess function parameter 'pipe' description in 'omap_irq_enable_vblank'
drivers/gpu/drm/omapdrm/omap_irq.c:142: warning: Function parameter or member 'crtc' not described in 'omap_irq_disable_vblank'
drivers/gpu/drm/omapdrm/omap_irq.c:142: warning: Excess function parameter 'dev' description in 'omap_irq_disable_vblank'
drivers/gpu/drm/omapdrm/omap_irq.c:142: warning: Excess function parameter 'pipe' description in 'omap_irq_disable_vblank'

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Rob Clark <rob.clark@linaro.org>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105144517.1826692-5-lee.jones@linaro.org

authored by

Lee Jones and committed by
Tomi Valkeinen
67daa52d fc4ef6b1

+2 -4
+2 -4
drivers/gpu/drm/omapdrm/omap_irq.c
··· 100 100 101 101 /** 102 102 * enable_vblank - enable vblank interrupt events 103 - * @dev: DRM device 104 - * @pipe: which irq to enable 103 + * @crtc: DRM CRTC 105 104 * 106 105 * Enable vblank interrupts for @crtc. If the device doesn't have 107 106 * a hardware vblank counter, this routine should be a no-op, since ··· 130 131 131 132 /** 132 133 * disable_vblank - disable vblank interrupt events 133 - * @dev: DRM device 134 - * @pipe: which irq to enable 134 + * @crtc: DRM CRTC 135 135 * 136 136 * Disable vblank interrupts for @crtc. If the device doesn't have 137 137 * a hardware vblank counter, this routine should be a no-op, since