sp2.c (2d3da59ff163b2aa805de0fc65ba933a735b00cd) | sp2.c (af28c99628ebfbdc3fff3d92c7044d3a51b7ccea) |
---|---|
1/* 2 * CIMaX SP2/SP2HF (Atmel T90FJR) CI driver 3 * 4 * Copyright (C) 2014 Olli Salonen <olli.salonen@iki.fi> 5 * 6 * Heavily based on CIMax2(R) SP2 driver in conjunction with NetUp Dual 7 * DVB-S2 CI card (cimax2) with following copyrights: 8 * --- 343 unchanged lines hidden (view full) --- 352} 353 354static int sp2_exit(struct i2c_client *client) 355{ 356 struct sp2 *s; 357 358 dev_dbg(&client->dev, "\n"); 359 | 1/* 2 * CIMaX SP2/SP2HF (Atmel T90FJR) CI driver 3 * 4 * Copyright (C) 2014 Olli Salonen <olli.salonen@iki.fi> 5 * 6 * Heavily based on CIMax2(R) SP2 driver in conjunction with NetUp Dual 7 * DVB-S2 CI card (cimax2) with following copyrights: 8 * --- 343 unchanged lines hidden (view full) --- 352} 353 354static int sp2_exit(struct i2c_client *client) 355{ 356 struct sp2 *s; 357 358 dev_dbg(&client->dev, "\n"); 359 |
360 if (client == NULL) | 360 if (!client) |
361 return 0; 362 363 s = i2c_get_clientdata(client); | 361 return 0; 362 363 s = i2c_get_clientdata(client); |
364 if (s == NULL) | 364 if (!s) |
365 return 0; 366 | 365 return 0; 366 |
367 if (s->ca.data == NULL) | 367 if (!s->ca.data) |
368 return 0; 369 370 dvb_ca_en50221_release(&s->ca); 371 372 return 0; 373} 374 375static int sp2_probe(struct i2c_client *client, --- 64 unchanged lines hidden --- | 368 return 0; 369 370 dvb_ca_en50221_release(&s->ca); 371 372 return 0; 373} 374 375static int sp2_probe(struct i2c_client *client, --- 64 unchanged lines hidden --- |