Просмотр исходного кода

hwmon: (emc1403) Add device IDs for EMC1412, EMC1413, and EMC1414

EMC1412, EMC1413, and EMC1414 are fully compatible to EMC1402, EMC1403,
and EMC1404, and even report the same chip ID. Add to device ID table
to enable instantiation with correct chip names.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck 11 лет назад
Родитель
Сommit
51585befb4
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      drivers/hwmon/emc1403.c

+ 3 - 0
drivers/hwmon/emc1403.c

@@ -471,6 +471,9 @@ static const struct i2c_device_id emc1403_idtable[] = {
 	{ "emc1402", emc1402 },
 	{ "emc1403", emc1403 },
 	{ "emc1404", emc1404 },
+	{ "emc1412", emc1402 },
+	{ "emc1413", emc1403 },
+	{ "emc1414", emc1404 },
 	{ "emc1422", emc1402 },
 	{ "emc1423", emc1403 },
 	{ "emc1424", emc1404 },