Searched refs:scmi_hwmon_chan (Results 1 – 1 of 1) sorted by relevance
124 static int scmi_hwmon_add_chan_info(struct hwmon_channel_info *scmi_hwmon_chan, in scmi_hwmon_add_chan_info() argument134 scmi_hwmon_chan->type = type; in scmi_hwmon_add_chan_info()135 scmi_hwmon_chan->config = cfg; in scmi_hwmon_add_chan_info()169 struct hwmon_channel_info *scmi_hwmon_chan; in scmi_hwmon_probe() local208 scmi_hwmon_chan = devm_kcalloc(dev, nr_types, sizeof(*scmi_hwmon_chan), in scmi_hwmon_probe()210 if (!scmi_hwmon_chan) in scmi_hwmon_probe()225 scmi_hwmon_add_chan_info(scmi_hwmon_chan, dev, nr_count[type], in scmi_hwmon_probe()227 *ptr_scmi_ci++ = scmi_hwmon_chan++; in scmi_hwmon_probe()