V4L/DVB (10336): gspca - all subdrivers: Return ret instead of -1 in sd_mod_init.
authorAlexey Klimov <klimov.linux@gmail.com>
Thu, 1 Jan 2009 16:04:58 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:29 +0000 (12:42 -0300)
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
24 files changed:
drivers/media/video/gspca/conex.c
drivers/media/video/gspca/etoms.c
drivers/media/video/gspca/finepix.c
drivers/media/video/gspca/m5602/m5602_core.c
drivers/media/video/gspca/mars.c
drivers/media/video/gspca/ov519.c
drivers/media/video/gspca/ov534.c
drivers/media/video/gspca/pac207.c
drivers/media/video/gspca/pac7311.c
drivers/media/video/gspca/sonixb.c
drivers/media/video/gspca/sonixj.c
drivers/media/video/gspca/spca500.c
drivers/media/video/gspca/spca501.c
drivers/media/video/gspca/spca505.c
drivers/media/video/gspca/spca506.c
drivers/media/video/gspca/spca508.c
drivers/media/video/gspca/spca561.c
drivers/media/video/gspca/stk014.c
drivers/media/video/gspca/stv06xx/stv06xx.c
drivers/media/video/gspca/sunplus.c
drivers/media/video/gspca/t613.c
drivers/media/video/gspca/tv8532.c
drivers/media/video/gspca/vc032x.c
drivers/media/video/gspca/zc3xx.c

index 825342be41fc8fc0db78ef886c9369f97da4422f..2de8906e5661c16da12a8a6f90d8ade47a5176f1 100644 (file)
@@ -1031,7 +1031,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index c5f8dda42435232b358502d07c13792cff40107b..49ab2659a3f67015053175882c86d17add566f12 100644 (file)
@@ -930,7 +930,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 96a5ca775b5565e23e05ca5ec9a55d585353760c..dc65c363aa87a921af3856d1e99163ff1dc033d4 100644 (file)
@@ -457,7 +457,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index e78914d7a1a0341dcc156e70474ee59df61f7668..b35e4838a6e5740cca162efab67d7ddeaecbf253 100644 (file)
@@ -376,7 +376,7 @@ static int __init mod_m5602_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 420224afacb1da587702bcee5c4e448b27906d68..477441e22bab78a42ea15e3bf30f0586667621ec 100644 (file)
@@ -423,7 +423,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index c78d2d0f43d3adfe1171c6dad3820502629f7237..1fff37b79891253bbe24a88d761dd30b1ab2eb8b 100644 (file)
@@ -2179,7 +2179,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index e20ec7df34a7d6ab7252d5039557bf78a86fc0a9..55d920caa6bbcd7318e82684ba65b22ec5fb1395 100644 (file)
@@ -587,7 +587,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 10331728f16288c062669d02e6d714e646a45058..93616cebf3606baa30cc28148a1d5bc373c348af 100644 (file)
@@ -567,7 +567,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 8a4551ecd0a6e7f3dc6e6a93fe5e5c65e8bae7fe..e1e3a3a504845b1c3ea5b91ff8c31e2f427b7e41 100644 (file)
@@ -1099,7 +1099,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index dd9417eea16a2fb92b5a4e0b2d26571a0516515f..153d0a91d4b5c94acb6a06903f0862a3b9196398 100644 (file)
@@ -1274,7 +1274,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index d1b604c07afd1e7d46b20992c1b482cc493c7701..755ca302368e45e88fb55a02f9fdf5df7738aa55 100644 (file)
@@ -1796,7 +1796,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        info("registered");
        return 0;
 }
index 75494016515dc888dca32e084fa39edbdc4b43b3..5450c3c4274bb760109e6091d00643641f6ecbc3 100644 (file)
@@ -1095,7 +1095,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 9ae62f18f725b4c2683e08b82eaf67b9530f98c9..414b5b8b759fecf4645673d2558904e0a91eafe7 100644 (file)
@@ -2213,7 +2213,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 32ae57e5f7befe43a6d9bb8a97f4b1c35941b63b..b8c855c6a4ec3c11e2f3a0cf76c0ea58f2b98d0c 100644 (file)
@@ -865,7 +865,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index aa3ecc8acfa637d21d63d44044f505089d28f1ed..8cedb00976a4c18649224cc8af061f9a7fc2b198 100644 (file)
@@ -774,7 +774,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index c9d5e6c8091265bd060af2813791d7986eb4acf8..34e74004774b7a194c83c2e2686eb0ab5f7a0808 100644 (file)
@@ -1668,7 +1668,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 1538350849f95a8fc988a35687ba0fc4b1ec2c3e..173c0c43fd1f69dfabf0dd1c8084d4115565add7 100644 (file)
@@ -1199,7 +1199,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 8743c03ed4aa6e169641e3a8dc9ffca839b4ff83..ba31eb3186527e3e7f156b688b1d52b706a36792 100644 (file)
@@ -563,7 +563,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        info("registered");
        return 0;
 }
index c43534db74bbd7865728864796cb10a0288e883a..9dff2e65b116680b15b0d0e04383ce03918f9b12 100644 (file)
@@ -503,7 +503,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index a7d324cf1a5cbe229e354d81cb291f53a7173aa3..d9c9c440f020d084a0a04ff6f7c5c864e29ee5c5 100644 (file)
@@ -1467,7 +1467,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 1dfdbf58526f371a7ff868dd3bab9c10ade72903..76ba2c9588d7d286d763aab6cecbefea0aa76923 100644 (file)
@@ -1174,7 +1174,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 0bcbdb22e018f21957c44a9c4e4463631a417083..86e4f0e3d917cb63700a01d9da254b5efe85d3b1 100644 (file)
@@ -572,7 +572,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index 0f475ec2ab93d6e011e33f0f560288bfe2a996c2..ab310800075647fade5c6095ee2ad28d43abdcfa 100644 (file)
@@ -2462,7 +2462,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }
index afc10a9ac53907e72ceac5f8a0d08345b4db6747..e0dbbc2b999a864e4e2d5939ce9226ca4d11eea0 100644 (file)
@@ -7602,7 +7602,7 @@ static int __init sd_mod_init(void)
        int ret;
        ret = usb_register(&sd_driver);
        if (ret < 0)
-               return -1;
+               return ret;
        PDEBUG(D_PROBE, "registered");
        return 0;
 }