aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-11-29 03:48:26 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-30 06:20:35 -0500
commit0e5fca8106199f5c680bb93e75c16381c4c256ce (patch)
tree8ee70150297305cf0743ccb4c604aae32a1d4fae /include/linux/mfd
parent12a5105e04143569b3e9e5ef03cf9cad8862473a (diff)
mfd: tps65910: Remove unused data
The 'io_mutex' is not used anywhere. The regmap API supports the mutex internally, so no additional mutex is required. And 'domain' private data is unnecessary because the irq domain is already registered by using regmap_add_irq_chip(). Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps65910.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index 0b16903f7e88..20e433e551e3 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -893,7 +893,6 @@ struct tps65910 {
893 struct device *dev; 893 struct device *dev;
894 struct i2c_client *i2c_client; 894 struct i2c_client *i2c_client;
895 struct regmap *regmap; 895 struct regmap *regmap;
896 struct mutex io_mutex;
897 unsigned int id; 896 unsigned int id;
898 897
899 /* Client devices */ 898 /* Client devices */
@@ -907,7 +906,6 @@ struct tps65910 {
907 /* IRQ Handling */ 906 /* IRQ Handling */
908 int chip_irq; 907 int chip_irq;
909 struct regmap_irq_chip_data *irq_data; 908 struct regmap_irq_chip_data *irq_data;
910 struct irq_domain *domain;
911}; 909};
912 910
913struct tps65910_platform_data { 911struct tps65910_platform_data {