coresight: core: Fix typo in coresight-core.c
authorQi Liu <liuqi115@huawei.com>
Wed, 7 Apr 2021 16:00:06 +0000 (10:00 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 17:33:17 +0000 (19:33 +0200)
Fix the following checkpatch warning:
WARNING: 'compoment' may be misspelled - perhaps 'component'?

Link: https://lore.kernel.org/r/1616487086-50418-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20210407160007.418053-4-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-core.c

index 0062c893565300ac7524c0319ba4829159087e32..b57bea16710274d4a7801f05a9821e0e18109bf6 100644 (file)
@@ -86,7 +86,7 @@ static int coresight_id_match(struct device *dev, void *data)
            i_csdev->type != CORESIGHT_DEV_TYPE_SOURCE)
                return 0;
 
-       /* Get the source ID for both compoment */
+       /* Get the source ID for both components */
        trace_id = source_ops(csdev)->trace_id(csdev);
        i_trace_id = source_ops(i_csdev)->trace_id(i_csdev);