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

drm/fourcc: Fix the parameters name in the documentation

We introduced new functions in the commit bf39607c1614 ("drm/fourcc: Pass
the format_info pointer to drm_format_plane_width/height") based on
previous ones but with a slightly different prototype. However, the
documentation wasn't changed to reflect that change.

Fixes: bf39607c1614 ("drm/fourcc: Pass the format_info pointer to drm_format_plane_width/height")
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521110906.15268-1-maxime.ripard@bootlin.com

+2 -2
+2 -2
include/drm/drm_fourcc.h
··· 262 262 263 263 /** 264 264 * drm_format_info_plane_width - width of the plane given the first plane 265 - * @format: pixel format info 265 + * @info: pixel format info 266 266 * @width: width of the first plane 267 267 * @plane: plane index 268 268 * ··· 284 284 285 285 /** 286 286 * drm_format_info_plane_height - height of the plane given the first plane 287 - * @format: pixel format info 287 + * @info: pixel format info 288 288 * @height: height of the first plane 289 289 * @plane: plane index 290 290 *