mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
0dcc36fc7d
Remove support for NCT6775/6 from W83627EHF driver so the NCT6775 driver will still be used for those chips. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
|
|
index 697007afb99c..4a4e0b4c077c 100644
|
|
--- a/drivers/hwmon/w83627ehf.c
|
|
+++ b/drivers/hwmon/w83627ehf.c
|
|
@@ -2707,8 +2707,8 @@ static int __init w83627ehf_find(int sioaddr, unsigned short *addr,
|
|
static const char sio_name_W83627UHG[] __initconst = "W83627UHG";
|
|
static const char sio_name_W83667HG[] __initconst = "W83667HG";
|
|
static const char sio_name_W83667HG_B[] __initconst = "W83667HG-B";
|
|
- static const char sio_name_NCT6775[] __initconst = "NCT6775F";
|
|
- static const char sio_name_NCT6776[] __initconst = "NCT6776F";
|
|
+/* static const char sio_name_NCT6775[] __initconst = "NCT6775F";
|
|
+ static const char sio_name_NCT6776[] __initconst = "NCT6776F"; */
|
|
|
|
u16 val;
|
|
const char *sio_name;
|
|
@@ -2749,14 +2749,14 @@ static int __init w83627ehf_find(int sioaddr, unsigned short *addr,
|
|
sio_data->kind = w83667hg_b;
|
|
sio_name = sio_name_W83667HG_B;
|
|
break;
|
|
- case SIO_NCT6775_ID:
|
|
+/* case SIO_NCT6775_ID:
|
|
sio_data->kind = nct6775;
|
|
sio_name = sio_name_NCT6775;
|
|
break;
|
|
case SIO_NCT6776_ID:
|
|
sio_data->kind = nct6776;
|
|
sio_name = sio_name_NCT6776;
|
|
- break;
|
|
+ break; */
|
|
default:
|
|
if (val != 0xffff)
|
|
pr_debug("unsupported chip ID: 0x%04x\n", val);
|