summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlizhe <sensor1010@163.com>2022-12-20 22:37:49 -0800
committerDominik Brodowski <linux@dominikbrodowski.net>2023-09-03 10:45:53 +0200
commit4f733de8b78a209501041a4b0a44c83ece0e8933 (patch)
treedce372994acb68ce550e9cdb8abf9dab65fb5613
parent99e25b17d2a3e3b486b4f6f90a740d51245da1f2 (diff)
pcmcia: tcic: remove unneeded "&" in call to setup_timer()
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>
-rw-r--r--drivers/pcmcia/tcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c
index 1a0e3f098759..5ef888688e23 100644
--- 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);