hwmon_max
#define HWMON_NR_SENSOR_TYPES (hwmon_max)
int nr_count[hwmon_max] = { 0 }, nr_types = 0;
for (type = 0; type < hwmon_max; ++type) {
static u32 hwmon_attributes[hwmon_max] = {
static u32 hwmon_attributes[hwmon_max] = {
const struct asus_wmi_sensor_info **info[hwmon_max];
int nr_count[hwmon_max] = {}, nr_types = 0;
for (type = 0; type < hwmon_max; type++) {
u8 channel_index[hwmon_max] = {};
static const u32 hp_wmi_hwmon_attributes[hwmon_max] = {
for (type = hwmon_chip; type < hwmon_max; type++)
for (type = hwmon_chip; type < hwmon_max; type++) {
struct hp_wmi_info **info_map[hwmon_max];
u8 channel_count[hwmon_max];
const struct m10bmc_sdata *tables[hwmon_max];
static u32 hwmon_attributes[hwmon_max] = {
const struct scmi_sensor_info **info[hwmon_max];
int nr_count[hwmon_max] = {0}, nr_types = 0, nr_count_temp = 0;
for (type = 0; type < hwmon_max; type++) {
static const struct hwmon_type_attr_list ps_type_attrs[hwmon_max] = {