]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hwmon: (lm85) Fix ADT7468 frequency table
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:50 +0000 (20:31 +0200)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:06 +0000 (23:40 +0100)
commit fa7a5797e57d2ed71f9a6fb44f0ae42c2d7b74b7 upstream.

The ADT7468 uses the same frequency table as the ADT7463.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/hwmon/lm85.c

index b3841a615595658cc3ddd0675d827becaf53fc45..2e8f0c9458d4da122e5ee03f9f27400b92f3c6a5 100644 (file)
@@ -1259,6 +1259,7 @@ static int lm85_probe(struct i2c_client *client,
        switch (data->type) {
        case adm1027:
        case adt7463:
+       case adt7468:
        case emc6d100:
        case emc6d102:
                data->freq_map = adm1027_freq_map;