summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-30 15:22:37 +0900
committerRob Herring <robh@kernel.org>2015-11-30 17:57:01 -0600
commitba85edbe0d39710dc74a2a9c6f90929b5722a53b (patch)
tree6188b31221d45457b1b6ddcb4b908801e6f99f1f /drivers/of
parent78bb2abe09d6bd15eeee7250f2fa0cb76432a8a2 (diff)
downloadlinux-ba85edbe0d39710dc74a2a9c6f90929b5722a53b.tar.gz
linux-ba85edbe0d39710dc74a2a9c6f90929b5722a53b.tar.bz2
linux-ba85edbe0d39710dc74a2a9c6f90929b5722a53b.zip
of/address: fix typo in comment block of of_translate_one()
Remove the "not" before "cannot". I am fixing the comment block style while I am here. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/address.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c
index cd53fe4a0c86..9582c5703b3c 100644
--- a/drivers/of/address.c
+++ b/drivers/of/address.c
@@ -485,9 +485,10 @@ static int of_translate_one(struct device_node *parent, struct of_bus *bus,
int rone;
u64 offset = OF_BAD_ADDR;
- /* Normally, an absence of a "ranges" property means we are
+ /*
+ * Normally, an absence of a "ranges" property means we are
* crossing a non-translatable boundary, and thus the addresses
- * below the current not cannot be converted to CPU physical ones.
+ * below the current cannot be converted to CPU physical ones.
* Unfortunately, while this is very clear in the spec, it's not
* what Apple understood, and they do have things like /uni-n or
* /ht nodes with no "ranges" property and a lot of perfectly