aboutsummaryrefslogtreecommitdiffstats
path: root/samples/connector
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-13 11:25:06 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-13 11:25:06 -0500
commit7832681b365f220151d1c33cc1a8891f10ecdb6f (patch)
treeeeabbcd88f1a9b87b61469857c63a2fcb571115b /samples/connector
parent516fb7f2e73dcc303fb97fc3593209fcacf2d982 (diff)
parent47427379ea80f1368ccec6ba20874fc19a9f0cc4 (diff)
Merge tag 'docs-4.15' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet: "A relatively calm cycle for the docs tree again. - The old driver statement has been added to the kernel docs. - We have a couple of new helper scripts. find-unused-docs.sh from Sayli Karnic will point out kerneldoc comments that are not actually used in the documentation. Jani Nikula's documentation-file-ref-check finds references to non-existing files. - A new ftrace document from Steve Rostedt. - Vinod Koul converted the dmaengine docs to RST Beyond that, it's mostly simple fixes. This set reaches outside of Documentation/ a bit more than most. In all cases, the changes are to comment docs, mostly from Randy, in places where there didn't seem to be anybody better to take them" * tag 'docs-4.15' of git://git.lwn.net/linux: (52 commits) documentation: fb: update list of available compiled-in fonts MAINTAINERS: update DMAengine documentation location dmaengine: doc: ReSTize pxa_dma doc dmaengine: doc: ReSTize dmatest doc dmaengine: doc: ReSTize client API doc dmaengine: doc: ReSTize provider doc dmaengine: doc: Add ReST style dmaengine document ftrace/docs: Add documentation on how to use ftrace from within the kernel bug-hunting.rst: Fix an example and a typo in a Sphinx tag scripts: Add a script to find unused documentation samples: Convert timers to use timer_setup() documentation: kernel-api: add more info on bitmap functions Documentation: fix selftests related file refs Documentation: fix ref to power basic-pm-debugging Documentation: fix ref to trace stm content Documentation: fix ref to coccinelle content Documentation: fix ref to workqueue content Documentation: fix ref to sphinx/kerneldoc.py Documentation: fix locking rt-mutex doc refs docs: dev-tools: correct Coccinelle version number ...
Diffstat (limited to 'samples/connector')
-rw-r--r--samples/connector/cn_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/connector/cn_test.c b/samples/connector/cn_test.c
index d12cc944b696..95cd06f4ec1e 100644
--- a/samples/connector/cn_test.c
+++ b/samples/connector/cn_test.c
@@ -125,12 +125,12 @@ static int cn_test_want_notify(void)
125#endif 125#endif
126 126
127static u32 cn_test_timer_counter; 127static u32 cn_test_timer_counter;
128static void cn_test_timer_func(unsigned long __data) 128static void cn_test_timer_func(struct timer_list *unused)
129{ 129{
130 struct cn_msg *m; 130 struct cn_msg *m;
131 char data[32]; 131 char data[32];
132 132
133 pr_debug("%s: timer fired with data %lu\n", __func__, __data); 133 pr_debug("%s: timer fired\n", __func__);
134 134
135 m = kzalloc(sizeof(*m) + sizeof(data), GFP_ATOMIC); 135 m = kzalloc(sizeof(*m) + sizeof(data), GFP_ATOMIC);
136 if (m) { 136 if (m) {
@@ -168,7 +168,7 @@ static int cn_test_init(void)
168 goto err_out; 168 goto err_out;
169 } 169 }
170 170
171 setup_timer(&cn_test_timer, cn_test_timer_func, 0); 171 timer_setup(&cn_test_timer, cn_test_timer_func, 0);
172 mod_timer(&cn_test_timer, jiffies + msecs_to_jiffies(1000)); 172 mod_timer(&cn_test_timer, jiffies + msecs_to_jiffies(1000));
173 173
174 pr_info("initialized with id={%u.%u}\n", 174 pr_info("initialized with id={%u.%u}\n",