diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-02-18 16:52:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-26 20:23:59 (GMT) |
commit | b856e0f7b2727e6de293a67e71a1ddec8648fa64 (patch) | |
tree | 1c549cfd5b05b632701a8bb3691d45c6348c798d | |
parent | 08e28893b3886e7f2a2b77adcbdb2bfa91301d3a (diff) | |
download | linux-b856e0f7b2727e6de293a67e71a1ddec8648fa64.tar.xz |
Staging: media: Change data value in setup_timer function
Here, data value 0xabadcafe in function setup_timer
seems like a nonsense value and timer handler function
is not using it anyway. So, change it to 0.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/media/lirc/lirc_sir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/lirc/lirc_sir.c b/drivers/staging/media/lirc/lirc_sir.c index d1ada8c..29087f6 100644 --- a/drivers/staging/media/lirc/lirc_sir.c +++ b/drivers/staging/media/lirc/lirc_sir.c @@ -683,7 +683,7 @@ static int init_port(void) } pr_info("I/O port 0x%.4x, IRQ %d.\n", io, irq); - setup_timer(&timerlist, sir_timeout, 0xabadcafe); + setup_timer(&timerlist, sir_timeout, 0); return 0; } |