treewide, timers: Rename from_timer() to timer_container_of()
This timer API was renamed in commit 41cb08555c41 ("treewide, timers:
Rename from_timer() to timer_container_of()"), see [1] for more info.
Make the corresponding updates here.
Link: https://git.kernel.org/torvalds/c/41cb08555c41 [1]
Change-Id: I6a39ec30325ad24812624310126b330e3fb20d16
Signed-off-by: Carlos Llamas <[email protected]>
diff --git a/kernel/drivers/net/ieee802154/dw3000_nfcc_coex_core.c b/kernel/drivers/net/ieee802154/dw3000_nfcc_coex_core.c
index 4820d09..c3b3460 100644
--- a/kernel/drivers/net/ieee802154/dw3000_nfcc_coex_core.c
+++ b/kernel/drivers/net/ieee802154/dw3000_nfcc_coex_core.c
@@ -259,7 +259,7 @@
static void dw3000_nfcc_coex_watchdog_timeout(struct timer_list *timer)
{
struct dw3000_nfcc_coex *nfcc_coex =
- from_timer(nfcc_coex, timer, watchdog_timer);
+ timer_container_of(nfcc_coex, timer, watchdog_timer);
struct dw3000 *dw = nfcc_coex_to_dw(nfcc_coex);
struct dw3000_stm_command cmd = { dw3000_nfcc_coex_do_watchdog_timeout,
NULL, NULL };