summaryrefslogtreecommitdiffstats
path: root/drivers/base/cacheinfo.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-05-08 15:45:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 21:31:33 +0200
commit2539b258ec028351af954c169ea1b0ff72023a9f (patch)
tree1deba50114158f805eb236826da8b00a8e6df369 /drivers/base/cacheinfo.c
parentsysfs: disambiguate between "error code" and "failure" in comments (diff)
downloadlinux-2539b258ec028351af954c169ea1b0ff72023a9f.tar.xz
linux-2539b258ec028351af954c169ea1b0ff72023a9f.zip
drivers/base: cacheinfo: fix annoying typo when DT nodes are absent
s/hierarcy/hierarchy/ Maybe the typo will annoy people enough so that they add the missing nodes to their device-tree files, but I still think this is better off fixed. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/cacheinfo.c')
-rw-r--r--drivers/base/cacheinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c
index 9c2ba1c97c42..c75bda89821b 100644
--- a/drivers/base/cacheinfo.c
+++ b/drivers/base/cacheinfo.c
@@ -191,12 +191,12 @@ static int detect_cache_attributes(unsigned int cpu)
if (ret)
goto free_ci;
/*
- * For systems using DT for cache hierarcy, of_node and shared_cpu_map
+ * For systems using DT for cache hierarchy, of_node and shared_cpu_map
* will be set up here only if they are not populated already
*/
ret = cache_shared_cpu_map_setup(cpu);
if (ret) {
- pr_warn("Unable to detect cache hierarcy from DT for CPU %d\n",
+ pr_warn("Unable to detect cache hierarchy from DT for CPU %d\n",
cpu);
goto free_ci;
}