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

drm: Fix comment on mode parsing

Do not claim that there's a default mode in the video= option parser.
if no option string has been given, the parser does nothing.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230209135509.7786-12-tzimmermann@suse.de

+1 -2
+1 -2
drivers/gpu/drm/drm_modes.c
··· 2339 2339 * @mode: preallocated drm_cmdline_mode structure to fill out 2340 2340 * 2341 2341 * This parses @mode_option command line modeline for modes and options to 2342 - * configure the connector. If @mode_option is NULL the default command line 2343 - * modeline in fb_mode_option will be parsed instead. 2342 + * configure the connector. 2344 2343 * 2345 2344 * This uses the same parameters as the fb modedb.c, except for an extra 2346 2345 * force-enable, force-enable-digital and force-disable bit at the end::