diff mbox series

[4/4] soundwire: remove unused struct sdw_bus_conf definition

Message ID 20190328134134.22479-5-srinivas.kandagatla@linaro.org
State New
Headers show
Series soundwire: few trival fixes and cleanups. | expand

Commit Message

Srinivas Kandagatla March 28, 2019, 1:41 p.m. UTC
struct sdw_bus_conf seems to be replaced with struct sdw_bus_params
so remove this unused data structure to avoid confusion to readers.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
 include/linux/soundwire/sdw.h | 15 ---------------
 1 file changed, 15 deletions(-)

-- 
2.21.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
diff mbox series

Patch

diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h
index df313913e856..a8129745b7ec 100644
--- a/include/linux/soundwire/sdw.h
+++ b/include/linux/soundwire/sdw.h
@@ -389,21 +389,6 @@  enum sdw_reg_bank {
 	SDW_BANK1,
 };
 
-/**
- * struct sdw_bus_conf: Bus configuration
- *
- * @clk_freq: Clock frequency, in Hz
- * @num_rows: Number of rows in frame
- * @num_cols: Number of columns in frame
- * @bank: Next register bank
- */
-struct sdw_bus_conf {
-	unsigned int clk_freq;
-	unsigned int num_rows;
-	unsigned int num_cols;
-	unsigned int bank;
-};
-
 /**
  * struct sdw_prepare_ch: Prepare/De-prepare Data Port channel
  *