aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/extcon/extcon-adc-jack.c1
-rw-r--r--drivers/extcon/extcon-class.c1
-rw-r--r--drivers/extcon/extcon-max77693.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c
index 5d7ab577fba9..2bb82e55065a 100644
--- a/drivers/extcon/extcon-adc-jack.c
+++ b/drivers/extcon/extcon-adc-jack.c
@@ -173,6 +173,7 @@ static int adc_jack_remove(struct platform_device *pdev)
173 173
174 free_irq(data->irq, data); 174 free_irq(data->irq, data);
175 cancel_work_sync(&data->handler.work); 175 cancel_work_sync(&data->handler.work);
176 iio_channel_release(data->chan);
176 177
177 return 0; 178 return 0;
178} 179}
diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c
index 043dcd9946c9..8319f25b7145 100644
--- a/drivers/extcon/extcon-class.c
+++ b/drivers/extcon/extcon-class.c
@@ -32,7 +32,6 @@
32#include <linux/of.h> 32#include <linux/of.h>
33#include <linux/slab.h> 33#include <linux/slab.h>
34#include <linux/sysfs.h> 34#include <linux/sysfs.h>
35#include <linux/of.h>
36 35
37/* 36/*
38 * extcon_cable_name suggests the standard cable names for commonly used 37 * extcon_cable_name suggests the standard cable names for commonly used
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index 740a14d35072..af165fd0c6f5 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -1033,7 +1033,7 @@ static irqreturn_t max77693_muic_irq_handler(int irq, void *data)
1033 return IRQ_HANDLED; 1033 return IRQ_HANDLED;
1034} 1034}
1035 1035
1036static struct regmap_config max77693_muic_regmap_config = { 1036static const struct regmap_config max77693_muic_regmap_config = {
1037 .reg_bits = 8, 1037 .reg_bits = 8,
1038 .val_bits = 8, 1038 .val_bits = 8,
1039}; 1039};