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
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJUxcgwAAoJEJzN3yze689TS6MP/0Eefg/WZay1Xuea1JUgrSF2
 J5H274gnFE6fILgZegH8eEY29lSKFnTiE0flN/XaMn/3BpCT332smAO5a+POWpW5
 sCvBp+GmvfY2dFWQ3FnV93Sk9Ext7Q6chNwvKdTCNTgXUunpXNbsqzuMy6HVQ3W4
 FfHwwg5mQ6zIhiLOFZpuIox5DwLD1SOova1MUSdP9WYZ1zr44Q1CPBw+dao0qwsb
 bdeWXwj7i1Np1Ux7HGq+A3CojquNbxn/UZWxxaAakJWLpRRpSLOyvK9UOzxu2e1N
 o4n0+LLjeZtJAHH0S8s+Cr8zJREEcc24D7DNxuc/mtPF957bwKbREEFApWb0smtD
 soNIffKKno7e8dFb00HrppGHNs0SvjXjPK37Z5q1ApaVi/W1XehMcSQLP2iYq7vW
 WL1bliBZmuzsA/K4N5WTZaxmfNgzmFpUJB2Nn6859Bs4OECBaCOG6gidCrLsXJxw
 53iDGXM/p7x1nD8L1EvWf/KAIT+VRlp7Mcmk3/LRdgXjnpqldXcf08ZnfT65yE8J
 QAOovtOo7wrqXZwDeXeWOKiQ+f3UtyYnMYxmklqQJPHcxb/aYrLrTEEwTD+tuVfF
 K9G/E3Xl1SOFK8l4/PF3tl8DevaoiKq74BK3KKYDn2lyfK8A81IFUup6oBmtCDbJ
 MG1a4t6yOf7rQFqTnp8F
 =LUo3
 -----END PGP SIGNATURE-----

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
commit 786f949631
3 changed files with 2 additions and 2 deletions

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;
}

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

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,
};