summaryrefslogtreecommitdiffstats
path: root/sound/soc/ux500/ux500_msp_i2s.h
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-05-24 12:39:17 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-25 15:58:33 -0400
commitb7230d7e4c1f6a87ddb96dbc106435e0dfee0f37 (patch)
treeb68c29cefc52545e82ac8611a6310c394a3cb4cc /sound/soc/ux500/ux500_msp_i2s.h
parent7f92581b21707bfe09e14410283692b658b9ef10 (diff)
downloadlinux-stable-b7230d7e4c1f6a87ddb96dbc106435e0dfee0f37.tar.gz
linux-stable-b7230d7e4c1f6a87ddb96dbc106435e0dfee0f37.tar.bz2
linux-stable-b7230d7e4c1f6a87ddb96dbc106435e0dfee0f37.zip
ASoC: ux500: Drop dangling struct i2s_controller
Drop struct i2s_controller from the ux500 ASoC driver as right now it is instantiated but not used anywhere. Also drop a mismatched device_unregister in the process. Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/ux500/ux500_msp_i2s.h')
-rw-r--r--sound/soc/ux500/ux500_msp_i2s.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/soc/ux500/ux500_msp_i2s.h b/sound/soc/ux500/ux500_msp_i2s.h
index 8ce014eb37e8..ccfcc32b1c2b 100644
--- a/sound/soc/ux500/ux500_msp_i2s.h
+++ b/sound/soc/ux500/ux500_msp_i2s.h
@@ -469,17 +469,6 @@ struct i2s_message {
size_t period_len;
};
-struct i2s_controller {
- struct module *owner;
- unsigned int id;
- unsigned int class;
- const struct i2s_algorithm *algo; /* the algorithm to access the bus */
- void *data;
- struct mutex bus_lock;
- struct device dev; /* the controller device */
- char name[48];
-};
-
struct ux500_msp_config {
unsigned int f_inputclk;
unsigned int rx_clk_sel;
@@ -515,7 +504,6 @@ struct ux500_msp {
enum enum_i2s_controller id;
void __iomem *registers;
struct device *dev;
- struct i2s_controller *i2s_cont;
struct stedma40_chan_cfg *dma_cfg_rx;
struct stedma40_chan_cfg *dma_cfg_tx;
struct dma_chan *tx_pipeid;