Merge tag 'extcon-next-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next

Chanwoo writes:

Update extcon for v3.20

This patchset fix minor issue of extcon driver.

Detailed description for patchset:
- Remove duplicate header file in extcon-class.c and add 'const' keyword for
  array in extcon-max77693.c.
- Release iio channel when executing *_remove() function in extcon-adc-jack.c
This commit is contained in:
Greg Kroah-Hartman
2015-01-26 19:23:43 -08:00
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -173,6 +173,7 @@ static int adc_jack_remove(struct platform_device *pdev)
free_irq(data->irq, data);
cancel_work_sync(&data->handler.work);
iio_channel_release(data->chan);
return 0;
}
-1
View File
@@ -32,7 +32,6 @@
#include <linux/of.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/of.h>
/*
* extcon_cable_name suggests the standard cable names for commonly used
+1 -1
View File
@@ -1033,7 +1033,7 @@ static irqreturn_t max77693_muic_irq_handler(int irq, void *data)
return IRQ_HANDLED;
}
static struct regmap_config max77693_muic_regmap_config = {
static const struct regmap_config max77693_muic_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
};