mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
treewide, timers: Rename from_timer() to timer_container_of()
Move this API to the canonical timer_*() namespace. [ tglx: Redone against pre rc1 ] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
This commit is contained in:
committed by
Felix Fietkau
parent
51a3b8c35d
commit
cfbbb8e66a
+1
-1
@@ -1047,7 +1047,7 @@ void mt7615_roc_work(struct work_struct *work)
|
||||
|
||||
void mt7615_roc_timer(struct timer_list *timer)
|
||||
{
|
||||
struct mt7615_phy *phy = from_timer(phy, timer, roc_timer);
|
||||
struct mt7615_phy *phy = timer_container_of(phy, timer, roc_timer);
|
||||
|
||||
ieee80211_queue_work(phy->mt76->hw, &phy->roc_work);
|
||||
}
|
||||
|
||||
+2
-2
@@ -305,7 +305,7 @@ EXPORT_SYMBOL_GPL(mt792x_tx_worker);
|
||||
|
||||
void mt792x_roc_timer(struct timer_list *timer)
|
||||
{
|
||||
struct mt792x_phy *phy = from_timer(phy, timer, roc_timer);
|
||||
struct mt792x_phy *phy = timer_container_of(phy, timer, roc_timer);
|
||||
|
||||
ieee80211_queue_work(phy->mt76->hw, &phy->roc_work);
|
||||
}
|
||||
@@ -313,7 +313,7 @@ EXPORT_SYMBOL_GPL(mt792x_roc_timer);
|
||||
|
||||
void mt792x_csa_timer(struct timer_list *timer)
|
||||
{
|
||||
struct mt792x_vif *mvif = from_timer(mvif, timer, csa_timer);
|
||||
struct mt792x_vif *mvif = timer_container_of(mvif, timer, csa_timer);
|
||||
|
||||
ieee80211_queue_work(mvif->phy->mt76->hw, &mvif->csa_work);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user