Repository navigation
Commit ec693fe
hwmon: (abituguru) Depend on DMI
The abituguru drivers are only built on X86, where DMI support is now
enabled by default. So let these drivers depend on DMI, for the
following gains:
* Robustness and safety. Detection of these devices is weak and uses
non-standard methods, it should really be limited to Abit boards
unless the user explicitly asks otherwise.
* Code simplicity. The code is easier to read without ifdefs.
* Better build testing coverage. Now there's only one way to build the
drivers, so no risk of build failure on exotic systems.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Alistair John Strachan <alistair@devzero.co.uk>
Acked-by: Hans de Goede <hdegoede@redhat.com>1 parent 5b0380c commit ec693fe
3 files changed
Lines changed: 2 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
1451 | | - | |
1452 | | - | |
1453 | 1451 | | |
1454 | 1452 | | |
1455 | 1453 | | |
1456 | 1454 | | |
1457 | 1455 | | |
1458 | 1456 | | |
1459 | | - | |
1460 | 1457 | | |
1461 | 1458 | | |
1462 | 1459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
1123 | | - | |
1124 | 1122 | | |
1125 | 1123 | | |
1126 | 1124 | | |
| |||
1159 | 1157 | | |
1160 | 1158 | | |
1161 | 1159 | | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
1171 | 1160 | | |
1172 | 1161 | | |
1173 | 1162 | | |
| |||
1216 | 1205 | | |
1217 | 1206 | | |
1218 | 1207 | | |
1219 | | - | |
1220 | 1208 | | |
1221 | 1209 | | |
1222 | | - | |
1223 | 1210 | | |
1224 | 1211 | | |
1225 | 1212 | | |
| |||
0 commit comments