summaryrefslogtreecommitdiffstats
path: root/drivers/base/trace.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers/base/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/trace.h b/drivers/base/trace.h
index 3192e18f87..e52b6eae06 100644
--- a/drivers/base/trace.h
+++ b/drivers/base/trace.h
@@ -28,7 +28,7 @@ DECLARE_EVENT_CLASS(devres,
__field(size_t, size)
),
TP_fast_assign(
- __assign_str(devname, dev_name(dev));
+ __assign_str(devname);
__entry->op = op;
__entry->node = node;
__entry->name = name;