aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-06-18 06:05:40 -0400
committerLee Jones <lee.jones@linaro.org>2013-06-19 04:53:26 -0400
commitc8eaed458e2cfbd906dbbe1af49aa028f59cc132 (patch)
treeb69c1934800bacecd4f4a7ca0cbfca719c1ccb42 /include/linux/mfd
parente578438820cdca91cb5eab477ec062236433ce5f (diff)
mfd: davinci_voicecodec: Convert to use devm_* APIs
devm_* APIs are device managed and make code simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/davinci_voicecodec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/davinci_voicecodec.h b/include/linux/mfd/davinci_voicecodec.h
index 0ab61320ffa8..94c53d4819c7 100644
--- a/include/linux/mfd/davinci_voicecodec.h
+++ b/include/linux/mfd/davinci_voicecodec.h
@@ -112,8 +112,6 @@ struct davinci_vc {
112 112
113 /* Memory resources */ 113 /* Memory resources */
114 void __iomem *base; 114 void __iomem *base;
115 resource_size_t pbase;
116 size_t base_size;
117 115
118 /* MFD cells */ 116 /* MFD cells */
119 struct mfd_cell cells[DAVINCI_VC_CELLS]; 117 struct mfd_cell cells[DAVINCI_VC_CELLS];