Skip to contentSkip to conversation

irq/irqdomain: Fix typo in the comment on top of __irq_domain_add()

PATCH New Zenghui Yu 2 participants 2 messages Jul 6, 2019

Subsystems (2)
lore
Share & tools
lore

Zenghui Yu

author
#0 lore raw

PATCH 1/1 irq/irqdomain: Fix typo in the comment on top of __irq_domain_add()

Fix typo in the comment on top of __irq_domain_add().

---
 kernel/irq/irqdomain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/irqdomain.c +1 -1
index a453e22..db7b713 100644
@@ -123,7 +123,7 @@ void irq_domain_free_fwnode(struct fwnode_handle *fwnode)
  * @ops: domain callbacks
  * @host_data: Controller private data pointer
  *
- * Allocates and initialize and irq_domain structure.
+ * Allocates and initializes an irq_domain structure.
  * Returns pointer to IRQ domain, or NULL on failure.
  */
 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size,
Signature · 1 line
1.8.3.1
#1 lore raw

[tip:irq/core] irq/irqdomain: Fix comment typo

irq/irqdomain: Fix comment typo
Commit-ID:  3a1d24ca9573fbc74a3d32c972c333b161e0e9dc
Gitweb:     https://git.kernel.org/tip/3a1d24ca9573fbc74a3d32c972c333b161e0e9dc
Author:     Zenghui Yu <[email protected]>
AuthorDate: Sat, 6 Jul 2019 04:41:12 +0000
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Sat, 6 Jul 2019 10:40:20 +0200

irq/irqdomain: Fix comment typo

Fix typo in the comment on top of __irq_domain_add().

---
 kernel/irq/irqdomain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/irqdomain.c +1 -1
index e7d17cc3a3d7..3078d0e48bba 100644
@@ -123,7 +123,7 @@ EXPORT_SYMBOL_GPL(irq_domain_free_fwnode);
  * @ops: domain callbacks
  * @host_data: Controller private data pointer
  *
- * Allocates and initialize and irq_domain structure.
+ * Allocates and initializes an irq_domain structure.
  * Returns pointer to IRQ domain, or NULL on failure.
  */
 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size,