Commit c4fa5da7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: saa7146_register_extension failure report back its

From: Daniele <bellucda@tiscali.it>

 - On saa7146_register_extension failure report back its return code
parent 238a1f94
...@@ -228,10 +228,7 @@ static struct saa7146_extension budget_extension = { ...@@ -228,10 +228,7 @@ static struct saa7146_extension budget_extension = {
static int __init budget_init(void) static int __init budget_init(void)
{ {
if (saa7146_register_extension(&budget_extension)) return saa7146_register_extension(&budget_extension);
return -ENODEV;
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