ath10k: snoc: remove 'wcn3990' from generic resource handling

ath10k_wcn3990_clk_info and ath10k_wcn3990_vreg_info are not
WCN3990-specific structures. They hold generic data. So don't name them
with wcn3990 specifics.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Brian Norris
2018-11-05 14:34:46 +02:00
committed by Kalle Valo
parent dc57731dbd
commit 887a3dcf58
2 changed files with 21 additions and 21 deletions

View File

@@ -53,7 +53,7 @@ struct ath10k_snoc_ce_irq {
u32 irq_line;
};
struct ath10k_wcn3990_vreg_info {
struct ath10k_vreg_info {
struct regulator *reg;
const char *name;
u32 min_v;
@@ -63,7 +63,7 @@ struct ath10k_wcn3990_vreg_info {
bool required;
};
struct ath10k_wcn3990_clk_info {
struct ath10k_clk_info {
struct clk *handle;
const char *name;
u32 freq;
@@ -87,8 +87,8 @@ struct ath10k_snoc {
struct ath10k_snoc_ce_irq ce_irqs[CE_COUNT_MAX];
struct ath10k_ce ce;
struct timer_list rx_post_retry;
struct ath10k_wcn3990_vreg_info *vreg;
struct ath10k_wcn3990_clk_info *clk;
struct ath10k_vreg_info *vreg;
struct ath10k_clk_info *clk;
struct ath10k_qmi *qmi;
unsigned long int flags;
};