Commit 12823178 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: hd: fix gb_hd_release tracepoint

The recently added gb_hd_release tracepoint was added to the wrong
function.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent dacf3eb7
......@@ -95,14 +95,14 @@ void gb_hd_cport_release(struct gb_host_device *hd, u16 cport_id)
}
ida_simple_remove(&hd->cport_id_map, cport_id);
trace_gb_hd_release(hd);
}
static void gb_hd_release(struct device *dev)
{
struct gb_host_device *hd = to_gb_host_device(dev);
trace_gb_hd_release(hd);
if (hd->svc)
gb_svc_put(hd->svc);
ida_simple_remove(&gb_hd_bus_id_map, hd->bus_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment