summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/stm/core.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-08 12:15:50 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-08 12:15:50 +0100
commit4e37fd4d5dfd39f547b0b00fa184a440a1e44b96 (patch)
tree1f2a678cce5422703aa376ab3506f430d51f89da /drivers/hwtracing/stm/core.c
parent7943bfaeb6bbbf595df4bd4087f5b890761c4898 (diff)
parent0759e80b84e34a84e7e46e2b1adb528c83d84a47 (diff)
downloadlinux-4e37fd4d5dfd39f547b0b00fa184a440a1e44b96.tar.gz
linux-4e37fd4d5dfd39f547b0b00fa184a440a1e44b96.tar.bz2
linux-4e37fd4d5dfd39f547b0b00fa184a440a1e44b96.zip
Merge branch 'pm-qos' into pm-cpuidle
Diffstat (limited to 'drivers/hwtracing/stm/core.c')
-rw-r--r--drivers/hwtracing/stm/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c
index 9414900575d8..f129869e05a9 100644
--- a/drivers/hwtracing/stm/core.c
+++ b/drivers/hwtracing/stm/core.c
@@ -1119,7 +1119,7 @@ void stm_source_unregister_device(struct stm_source_data *data)
stm_source_link_drop(src);
- device_destroy(&stm_source_class, src->dev.devt);
+ device_unregister(&src->dev);
}
EXPORT_SYMBOL_GPL(stm_source_unregister_device);