Skip to content

Commit 97387c2

Browse files
committed
hwmon: (max31722) Remove non-standard ACPI device IDs
Valid Maxim Integrated ACPI device IDs would start with MXIM, not with MAX1. On top of that, ACPI device IDs reflecting chip names are almost always invalid. Remove the invalid ACPI IDs. Fixes: 04e1e70 ("hwmon: (max31722) Add support for MAX31722/MAX31723 temperature sensors") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent ac61c8a commit 97387c2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/hwmon/max31722.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* Copyright (c) 2016, Intel Corporation.
77
*/
88

9-
#include <linux/acpi.h>
109
#include <linux/hwmon.h>
1110
#include <linux/hwmon-sysfs.h>
1211
#include <linux/kernel.h>
@@ -133,20 +132,12 @@ static const struct spi_device_id max31722_spi_id[] = {
133132
{"max31723", 0},
134133
{}
135134
};
136-
137-
static const struct acpi_device_id __maybe_unused max31722_acpi_id[] = {
138-
{"MAX31722", 0},
139-
{"MAX31723", 0},
140-
{}
141-
};
142-
143135
MODULE_DEVICE_TABLE(spi, max31722_spi_id);
144136

145137
static struct spi_driver max31722_driver = {
146138
.driver = {
147139
.name = "max31722",
148140
.pm = &max31722_pm_ops,
149-
.acpi_match_table = ACPI_PTR(max31722_acpi_id),
150141
},
151142
.probe = max31722_probe,
152143
.remove = max31722_remove,

0 commit comments

Comments
 (0)