Displaying 3 results from an estimated 3 matches for "hwmon_t_label".
Did you mean:
hwmon_i_label
2023 Apr 07
1
[PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info
..._hwmon_ops = {
> .read_string = snet_hwmon_read_string
> };
>
> -static const struct hwmon_channel_info *snet_hwmon_info[] = {
> +static const struct hwmon_channel_info * const snet_hwmon_info[] = {
> HWMON_CHANNEL_INFO(temp, HWMON_T_INPUT | HWMON_T_MAX | HWMON_T_CRIT | HWMON_T_LABEL,
> HWMON_T_INPUT | HWMON_T_CRIT | HWMON_T_LABEL),
> HWMON_CHANNEL_INFO(power, HWMON_P_INPUT | HWMON_P_LABEL),
2023 Apr 10
1
[PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info
...ad_string = snet_hwmon_read_string
>>> };
>>> -static const struct hwmon_channel_info *snet_hwmon_info[] = {
>>> +static const struct hwmon_channel_info * const snet_hwmon_info[] = {
>>> HWMON_CHANNEL_INFO(temp, HWMON_T_INPUT | HWMON_T_MAX | HWMON_T_CRIT | HWMON_T_LABEL,
>>> HWMON_T_INPUT | HWMON_T_CRIT | HWMON_T_LABEL),
>>> HWMON_CHANNEL_INFO(power, HWMON_P_INPUT | HWMON_P_LABEL),
>
2023 Apr 07
0
[PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info
...snet_hwmon_ops = {
> .read_string = snet_hwmon_read_string
> };
>
> -static const struct hwmon_channel_info *snet_hwmon_info[] = {
> +static const struct hwmon_channel_info * const snet_hwmon_info[] = {
> HWMON_CHANNEL_INFO(temp, HWMON_T_INPUT | HWMON_T_MAX | HWMON_T_CRIT | HWMON_T_LABEL,
> HWMON_T_INPUT | HWMON_T_CRIT | HWMON_T_LABEL),
> HWMON_CHANNEL_INFO(power, HWMON_P_INPUT | HWMON_P_LABEL),
> --
> 2.34.1