Commit 79bea04c authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: xgifb: XGIfb_setup(): clean up driver messages

Print options only if they are given. Delete other messages.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 87c8b8b3
...@@ -1939,11 +1939,11 @@ static int __init XGIfb_setup(char *options) ...@@ -1939,11 +1939,11 @@ static int __init XGIfb_setup(char *options)
xgi_video_info.refresh_rate = 0; xgi_video_info.refresh_rate = 0;
printk(KERN_INFO "XGIfb: Options %s\n", options);
if (!options || !*options) if (!options || !*options)
return 0; return 0;
pr_info("xgifb: options: %s\n", options);
while ((this_opt = strsep(&options, ",")) != NULL) { while ((this_opt = strsep(&options, ",")) != NULL) {
if (!*this_opt) if (!*this_opt)
...@@ -1984,11 +1984,8 @@ static int __init XGIfb_setup(char *options) ...@@ -1984,11 +1984,8 @@ static int __init XGIfb_setup(char *options)
this_opt + 7, NULL, 0); this_opt + 7, NULL, 0);
} else { } else {
XGIfb_search_mode(this_opt); XGIfb_search_mode(this_opt);
/* printk(KERN_INFO "XGIfb: Invalid option %s\n",
this_opt); */
} }
} }
printk("\nxgifb: outa xgifb_setup 3450");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment