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

[PATCH] janitor: saa7146_register_extension (ci) failure report

From: Daniele <bellucda@tiscali.it>

 - On saa7146_register_extension failure report back its return code
parent a03f90a1
...@@ -384,10 +384,7 @@ static struct saa7146_extension budget_extension = { ...@@ -384,10 +384,7 @@ static struct saa7146_extension budget_extension = {
static int __init budget_ci_init(void) static int __init budget_ci_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