net: qrtr: Fix wakeup_source_register

There was an update to add a device parameter into
wakeup_source_register().

Fixes: c8377adfa7 ("PM / wakeup: Show wakeup sources stats in sysfs")
Change-Id: I2c17f4c8c80cfb16d85da0ff268e5a75e2d0bcad
Signed-off-by: Chris Lew <clew@codeaurora.org>
This commit is contained in:
Chris Lew 2019-10-16 17:53:06 -07:00
commit 124913d596

View file

@ -1058,7 +1058,7 @@ int qrtr_endpoint_register(struct qrtr_endpoint *ep, unsigned int net_id,
up_write(&qrtr_epts_lock);
ep->node = node;
node->ws = wakeup_source_register("qrtr_ws");
node->ws = wakeup_source_register(NULL, "qrtr_ws");
kthread_queue_work(&node->kworker, &node->say_hello);
return 0;