| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * device driver for Conexant 2388x based TV cards |
|---|
| 3 | 4 | * driver core |
|---|
| .. | .. |
|---|
| 8 | 9 | * - Multituner support |
|---|
| 9 | 10 | * - video_ioctl2 conversion |
|---|
| 10 | 11 | * - PAL/M fixes |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 13 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 14 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 15 | | - * (at your option) any later version. |
|---|
| 16 | | - * |
|---|
| 17 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 18 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 19 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 20 | | - * GNU General Public License for more details. |
|---|
| 21 | 12 | */ |
|---|
| 22 | 13 | |
|---|
| 23 | 14 | #include "cx88.h" |
|---|
| .. | .. |
|---|
| 40 | 31 | |
|---|
| 41 | 32 | MODULE_DESCRIPTION("v4l2 driver module for cx2388x based TV cards"); |
|---|
| 42 | 33 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
|---|
| 43 | | -MODULE_LICENSE("GPL"); |
|---|
| 34 | +MODULE_LICENSE("GPL v2"); |
|---|
| 44 | 35 | |
|---|
| 45 | 36 | /* ------------------------------------------------------------------ */ |
|---|
| 46 | 37 | |
|---|
| .. | .. |
|---|
| 1079 | 1070 | mutex_lock(&devlist); |
|---|
| 1080 | 1071 | cx88_ir_fini(core); |
|---|
| 1081 | 1072 | if (core->i2c_rc == 0) { |
|---|
| 1082 | | - if (core->i2c_rtc) |
|---|
| 1083 | | - i2c_unregister_device(core->i2c_rtc); |
|---|
| 1073 | + i2c_unregister_device(core->i2c_rtc); |
|---|
| 1084 | 1074 | i2c_del_adapter(&core->i2c_adap); |
|---|
| 1085 | 1075 | } |
|---|
| 1086 | 1076 | list_del(&core->devlist); |
|---|