#include <linux/io.h>
#include "lm75.h"
+#define TESTING
+
enum kinds { nct6775, nct6776, nct6779 };
/* used to set data->name = nct6775_device_names[data->sio_kind] */
s++;
}
+#ifdef TESTING
/*
* We may have alternate registers for some sensors.
* Go through the list and enable if possible.
for (i = 0; i < data->temp_label_num; i++) {
if (!data->REG_TEMP_ALTERNATE[i])
continue;
- pr_info("Alternate index %d reg 0x%x source %s mask 0x%x have 0x%x s %d\n",
- i, data->REG_TEMP_ALTERNATE[i],
- data->temp_label[i + 1], mask,
- data->have_temp, s);
if (mask & (1 << (i + 1)))
continue;
if (i < data->temp_fixed_num) {
s++;
}
}
+#endif /* TESTING */
switch (data->kind) {
case nct6775: