]> Git Repo - linux.git/blobdiff - drivers/thermal/qcom/qcom-spmi-adc-tm5.c
Merge tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux.git] / drivers / thermal / qcom / qcom-spmi-adc-tm5.c
index af68adf720cc4a7802e694a65efc94328c0ae4a4..1b2c43eab27d12b00235e27c09b0f2745ff62107 100644 (file)
@@ -829,7 +829,8 @@ static int adc_tm5_get_dt_channel_data(struct adc_tm5_chip *adc_tm,
        }
        channel->adc_channel = args.args[0];
 
-       channel->iio = devm_of_iio_channel_get_by_name(adc_tm->dev, node, NULL);
+       channel->iio = devm_fwnode_iio_channel_get_by_name(adc_tm->dev,
+                                                          of_fwnode_handle(node), NULL);
        if (IS_ERR(channel->iio)) {
                ret = PTR_ERR(channel->iio);
                if (ret != -EPROBE_DEFER)
This page took 0.033765 seconds and 4 git commands to generate.