summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-12-20 18:54:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-20 21:19:13 +0100
commitbf359dff2346d490dbbbe0fcc4aa674625803da5 (patch)
tree6f1e748dba3546beccd188e36e908ed3207be955 /drivers/uwb
parentuwb: whitespace and comment cleanups (diff)
downloadlinux-bf359dff2346d490dbbbe0fcc4aa674625803da5.tar.xz
linux-bf359dff2346d490dbbbe0fcc4aa674625803da5.zip
uwb: use uwb_rsv_callback instead of calling rsv->callback directly
Use uwb_rsv_callback wrapper instead of calling rsv->callback directly. uwb_rsv_callback checks for NULL and is used by other callers of the callback routine. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
-rw-r--r--drivers/uwb/rsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c
index 4e7e4bf7542e..3fe611941046 100644
--- a/drivers/uwb/rsv.c
+++ b/drivers/uwb/rsv.c
@@ -919,7 +919,7 @@ static void uwb_rsv_alien_bp_work(struct work_struct *work)
list_for_each_entry(rsv, &rc->reservations, rc_node) {
if (rsv->type != UWB_DRP_TYPE_ALIEN_BP) {
- rsv->callback(rsv);
+ uwb_rsv_callback(rsv);
}
}