diff options
Diffstat (limited to 'drivers/extcon/extcon-adc-jack.c')
-rw-r--r-- | drivers/extcon/extcon-adc-jack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c index bc538708c753..6f6537ab0a79 100644 --- a/drivers/extcon/extcon-adc-jack.c +++ b/drivers/extcon/extcon-adc-jack.c | |||
@@ -67,7 +67,7 @@ static void adc_jack_handler(struct work_struct *work) | |||
67 | 67 | ||
68 | ret = iio_read_channel_raw(data->chan, &adc_val); | 68 | ret = iio_read_channel_raw(data->chan, &adc_val); |
69 | if (ret < 0) { | 69 | if (ret < 0) { |
70 | dev_err(&data->edev->dev, "read channel() error: %d\n", ret); | 70 | dev_err(data->dev, "read channel() error: %d\n", ret); |
71 | return; | 71 | return; |
72 | } | 72 | } |
73 | 73 | ||