hwmon.c (07320c91565658e117f2f86a190eec9bb64abeb6) hwmon.c (e75d16e58467c5703821e12536c7dc438f3c425d)
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 */

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

599 [hwmon_fan_fault] = "fan%d_fault",
600};
601
602static const char * const hwmon_pwm_attr_templates[] = {
603 [hwmon_pwm_input] = "pwm%d",
604 [hwmon_pwm_enable] = "pwm%d_enable",
605 [hwmon_pwm_mode] = "pwm%d_mode",
606 [hwmon_pwm_freq] = "pwm%d_freq",
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 */

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

599 [hwmon_fan_fault] = "fan%d_fault",
600};
601
602static const char * const hwmon_pwm_attr_templates[] = {
603 [hwmon_pwm_input] = "pwm%d",
604 [hwmon_pwm_enable] = "pwm%d_enable",
605 [hwmon_pwm_mode] = "pwm%d_mode",
606 [hwmon_pwm_freq] = "pwm%d_freq",
607 [hwmon_pwm_auto_channels_temp] = "pwm%d_auto_channels_temp",
607};
608
609static const char * const hwmon_intrusion_attr_templates[] = {
610 [hwmon_intrusion_alarm] = "intrusion%d_alarm",
611 [hwmon_intrusion_beep] = "intrusion%d_beep",
612};
613
614static const char * const *__templates[] = {

--- 498 unchanged lines hidden ---
608};
609
610static const char * const hwmon_intrusion_attr_templates[] = {
611 [hwmon_intrusion_alarm] = "intrusion%d_alarm",
612 [hwmon_intrusion_beep] = "intrusion%d_beep",
613};
614
615static const char * const *__templates[] = {

--- 498 unchanged lines hidden ---