]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] cx23885: correct some I2C client indentations
authorAntti Palosaari <crope@iki.fi>
Wed, 10 Dec 2014 14:05:59 +0000 (11:05 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 30 Dec 2014 12:45:00 +0000 (10:45 -0200)
These comparisons fit single line.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx23885/cx23885-dvb.c

index 6bb79355892c74bc8b929a2f138217f413e65e4c..0f60bc4b8611c6712dcfe55456692f71a828018b 100644 (file)
@@ -1823,8 +1823,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &si2168_config;
                request_module(info.type);
                client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info);
-               if (client_demod == NULL ||
-                               client_demod->dev.driver == NULL)
+               if (client_demod == NULL || client_demod->dev.driver == NULL)
                        goto frontend_detach;
                if (!try_module_get(client_demod->dev.driver->owner)) {
                        i2c_unregister_device(client_demod);
@@ -1841,8 +1840,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &si2157_config;
                request_module(info.type);
                client_tuner = i2c_new_device(adapter, &info);
-               if (client_tuner == NULL ||
-                               client_tuner->dev.driver == NULL) {
+               if (client_tuner == NULL || client_tuner->dev.driver == NULL) {
                        module_put(client_demod->dev.driver->owner);
                        i2c_unregister_device(client_demod);
                        port->i2c_client_demod = NULL;
@@ -1878,8 +1876,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &m88ts2022_config;
                request_module(info.type);
                client_tuner = i2c_new_device(adapter, &info);
-               if (client_tuner == NULL ||
-                               client_tuner->dev.driver == NULL)
+               if (client_tuner == NULL || client_tuner->dev.driver == NULL)
                        goto frontend_detach;
                if (!try_module_get(client_tuner->dev.driver->owner)) {
                        i2c_unregister_device(client_tuner);
@@ -1925,8 +1922,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &m88ts2022_config;
                request_module(info.type);
                client_tuner = i2c_new_device(adapter, &info);
-               if (client_tuner == NULL ||
-                               client_tuner->dev.driver == NULL)
+               if (client_tuner == NULL || client_tuner->dev.driver == NULL)
                        goto frontend_detach;
                if (!try_module_get(client_tuner->dev.driver->owner)) {
                        i2c_unregister_device(client_tuner);
@@ -1971,8 +1967,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &si2168_config;
                request_module(info.type);
                client_demod = i2c_new_device(&i2c_bus->i2c_adap, &info);
-               if (client_demod == NULL ||
-                               client_demod->dev.driver == NULL)
+               if (client_demod == NULL || client_demod->dev.driver == NULL)
                        goto frontend_detach;
                if (!try_module_get(client_demod->dev.driver->owner)) {
                        i2c_unregister_device(client_demod);
@@ -1989,8 +1984,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &si2157_config;
                request_module(info.type);
                client_tuner = i2c_new_device(adapter, &info);
-               if (client_tuner == NULL ||
-                               client_tuner->dev.driver == NULL) {
+               if (client_tuner == NULL || client_tuner->dev.driver == NULL) {
                        module_put(client_demod->dev.driver->owner);
                        i2c_unregister_device(client_demod);
                        port->i2c_client_demod = NULL;
@@ -2115,8 +2109,7 @@ static int dvb_register(struct cx23885_tsport *port)
                info.platform_data = &sp2_config;
                request_module(info.type);
                client_ci = i2c_new_device(&i2c_bus2->i2c_adap, &info);
-               if (client_ci == NULL ||
-                               client_ci->dev.driver == NULL) {
+               if (client_ci == NULL || client_ci->dev.driver == NULL) {
                        if (client_tuner) {
                                module_put(client_tuner->dev.driver->owner);
                                i2c_unregister_device(client_tuner);