diff options
author | 2024-01-29 15:40:33 +0000 | |
---|---|---|
committer | 2024-02-12 10:21:37 +0000 | |
commit | a0fef3f05cf36338d471e8f35a9ced88a054d583 (patch) | |
tree | b5cd9a0eaf7c2d88fe3670c6c6ce6ecae36e6e41 /drivers/hwtracing/coresight/coresight-priv.h | |
parent | coresight: Fix issue where a source device's helpers aren't disabled (diff) | |
download | linux-a0fef3f05cf36338d471e8f35a9ced88a054d583.tar.gz linux-a0fef3f05cf36338d471e8f35a9ced88a054d583.tar.bz2 linux-a0fef3f05cf36338d471e8f35a9ced88a054d583.zip |
coresight: Make language around "activated" sinks consistent
Activated has the specific meaning of a sink that's selected for use by
the user via sysfs. But comments in some code that's shared by Perf use
the same word, so in those cases change them to just say "selected"
instead. With selected implying either via Perf or "activated" via
sysfs.
coresight_get_enabled_sink() doesn't actually get an enabled sink, it
only gets an activated one, so change that too.
And change the activated variable name to include "sysfs" so it can't
be confused as a general status.
Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20240129154050.569566-3-james.clark@arm.com
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-priv.h')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-priv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwtracing/coresight/coresight-priv.h b/drivers/hwtracing/coresight/coresight-priv.h index 30c051055e54..ced5be05a527 100644 --- a/drivers/hwtracing/coresight/coresight-priv.h +++ b/drivers/hwtracing/coresight/coresight-priv.h @@ -130,8 +130,6 @@ void coresight_disable_path(struct list_head *path); int coresight_enable_path(struct list_head *path, enum cs_mode mode, void *sink_data); struct coresight_device *coresight_get_sink(struct list_head *path); -struct coresight_device * -coresight_get_enabled_sink(struct coresight_device *source); struct coresight_device *coresight_get_sink_by_id(u32 id); struct coresight_device * coresight_find_default_sink(struct coresight_device *csdev); |