projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99e25b1
)
pcmcia: tcic: remove unneeded "&" in call to setup_timer()
author
lizhe
<sensor1010@163.com>
Wed, 21 Dec 2022 06:37:49 +0000
(22:37 -0800)
committer
Dominik Brodowski
<linux@dominikbrodowski.net>
Sun, 3 Sep 2023 08:45:53 +0000
(10:45 +0200)
The second parameter is the entry address of the function, and
therefore does not require an "&".
Signed-off-by: lizhe <sensor1010@163.com>
[linux@dominikbrodowski.net: update commit message]
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/tcic.c
patch
|
blob
|
history
diff --git
a/drivers/pcmcia/tcic.c
b/drivers/pcmcia/tcic.c
index 1a0e3f0987599d8a8b6415ac31dac40bc4bab8a1..5ef888688e231c87bb112e4041580a7a0c7bba1b 100644
(file)
--- a/
drivers/pcmcia/tcic.c
+++ b/
drivers/pcmcia/tcic.c
@@
-435,7
+435,7
@@
static int __init init_tcic(void)
}
/* Set up polling */
- timer_setup(&poll_timer,
&
tcic_timer, 0);
+ timer_setup(&poll_timer, tcic_timer, 0);
/* Build interrupt mask */
printk(KERN_CONT ", %d sockets\n", sockets);