diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2022-02-16 15:21:58 +0530 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2022-03-11 10:07:57 +0000 |
commit | 286f950545e0d9c8aa802cbfc9676860bbc49179 (patch) | |
tree | caf9742a593865d5943b046eaf0ddf8aab7688cc /drivers/hwtracing/coresight | |
parent | ec70b05d5da9ac753868e55607298b0699a7ad27 (diff) | |
download | linux-stable-286f950545e0d9c8aa802cbfc9676860bbc49179.tar.gz linux-stable-286f950545e0d9c8aa802cbfc9676860bbc49179.tar.bz2 linux-stable-286f950545e0d9c8aa802cbfc9676860bbc49179.zip |
coresight: Drop unused 'none' enum value for each component
CORESIGHT_DEV_TYPE_NONE/CORESIGHT_DEV_SUBTYPE_XXXX_NONE values are not used
any where. Actual enumeration can start from 0. Just drop these unused enum
values.
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/1645005118-10561-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Diffstat (limited to 'drivers/hwtracing/coresight')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c index 88653d1c06a4..af00dca8d1ac 100644 --- a/drivers/hwtracing/coresight/coresight-core.c +++ b/drivers/hwtracing/coresight/coresight-core.c @@ -1279,9 +1279,6 @@ ATTRIBUTE_GROUPS(coresight_source); static struct device_type coresight_dev_type[] = { { - .name = "none", - }, - { .name = "sink", .groups = coresight_sink_groups, }, |