hwmon.c (35c1bfb99fef9c71f9df5c1325db99a79300bc97) hwmon.c (5f85c4d10ef46a5f457a9d337159ff620a0a2191)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring
4 *
5 * This file defines the sysfs class "hwmon", for use by sensors drivers.
6 *
7 * Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>
8 */

--- 573 unchanged lines hidden (view full) ---

582 [hwmon_humidity_min] = "humidity%d_min",
583 [hwmon_humidity_min_hyst] = "humidity%d_min_hyst",
584 [hwmon_humidity_max] = "humidity%d_max",
585 [hwmon_humidity_max_hyst] = "humidity%d_max_hyst",
586 [hwmon_humidity_alarm] = "humidity%d_alarm",
587 [hwmon_humidity_fault] = "humidity%d_fault",
588 [hwmon_humidity_rated_min] = "humidity%d_rated_min",
589 [hwmon_humidity_rated_max] = "humidity%d_rated_max",
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring
4 *
5 * This file defines the sysfs class "hwmon", for use by sensors drivers.
6 *
7 * Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>
8 */

--- 573 unchanged lines hidden (view full) ---

582 [hwmon_humidity_min] = "humidity%d_min",
583 [hwmon_humidity_min_hyst] = "humidity%d_min_hyst",
584 [hwmon_humidity_max] = "humidity%d_max",
585 [hwmon_humidity_max_hyst] = "humidity%d_max_hyst",
586 [hwmon_humidity_alarm] = "humidity%d_alarm",
587 [hwmon_humidity_fault] = "humidity%d_fault",
588 [hwmon_humidity_rated_min] = "humidity%d_rated_min",
589 [hwmon_humidity_rated_max] = "humidity%d_rated_max",
590 [hwmon_humidity_min_alarm] = "humidity%d_min_alarm",
591 [hwmon_humidity_max_alarm] = "humidity%d_max_alarm",
590};
591
592static const char * const hwmon_fan_attr_templates[] = {
593 [hwmon_fan_enable] = "fan%d_enable",
594 [hwmon_fan_input] = "fan%d_input",
595 [hwmon_fan_label] = "fan%d_label",
596 [hwmon_fan_min] = "fan%d_min",
597 [hwmon_fan_max] = "fan%d_max",

--- 601 unchanged lines hidden ---
592};
593
594static const char * const hwmon_fan_attr_templates[] = {
595 [hwmon_fan_enable] = "fan%d_enable",
596 [hwmon_fan_input] = "fan%d_input",
597 [hwmon_fan_label] = "fan%d_label",
598 [hwmon_fan_min] = "fan%d_min",
599 [hwmon_fan_max] = "fan%d_max",

--- 601 unchanged lines hidden ---