2017-06-20 23:50:21

by Frank Rowand

[permalink] [raw]
Subject: [PATCH] of: address.c header comment typo

From: Frank Rowand <[email protected]>

Fix typo in header comment for of_address_to_resource()

Signed-off-by: Frank Rowand <[email protected]>
---
drivers/of/address.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/address.c b/drivers/of/address.c
index 72914cdfce2a..580bbf6ca2b1 100644
--- a/drivers/of/address.c
+++ b/drivers/of/address.c
@@ -710,7 +710,7 @@ static int __of_address_to_resource(struct device_node *dev,
*
* Note that if your address is a PIO address, the conversion will fail if
* the physical address can't be internally converted to an IO token with
- * pci_address_to_pio(), that is because it's either called to early or it
+ * pci_address_to_pio(), that is because it's either called too early or it
* can't be matched to any host bridge IO space
*/
int of_address_to_resource(struct device_node *dev, int index,
--
Frank Rowand <[email protected]>


2017-06-22 16:16:29

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] of: address.c header comment typo

On Tue, Jun 20, 2017 at 04:50:11PM -0700, [email protected] wrote:
> From: Frank Rowand <[email protected]>
>
> Fix typo in header comment for of_address_to_resource()
>
> Signed-off-by: Frank Rowand <[email protected]>
> ---
> drivers/of/address.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied.