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

[PATCH] janitor: saa7146_register_extension failure report (ttpci)

From: Daniele <bellucda@tiscali.it>

 - On saa7146_register_extension failure report back its return code
parent 4a99694e
...@@ -247,10 +247,7 @@ static int budget_patch_detach (struct saa7146_dev* dev) ...@@ -247,10 +247,7 @@ static int budget_patch_detach (struct saa7146_dev* dev)
static int __init budget_patch_init(void) static int __init budget_patch_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