Skip to contentSkip to conversation

docs: devfreq: Fix typo 'enabeld' to 'enabled' in devfreq-event.c

PATCH In review bhanuseshukumar 2 participants 2 messages May 26, 2025 – May 27, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: devfreq: Fix typo 'enabeld' to 'enabled' in devfreq-event.c

Fixed a typo in description of the function

This is me trying my way into opensource linux kernel contribution journey beginning with this first patch of trivial spelling mistake fix.

---
 drivers/devfreq/devfreq-event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/devfreq-event.c +1 -1
index 70219099c604..020fe30ed5d9 100644
@@ -100,7 +100,7 @@ EXPORT_SYMBOL_GPL(devfreq_event_disable_edev);
  * @edev	: the devfreq-event device
  *
  * Note that this function check whether devfreq-event dev is enabled or not.
- * If return true, the devfreq-event dev is enabeld. If return false, the
+ * If return true, the devfreq-event dev is enabled. If return false, the
  * devfreq-event dev is disabled.
  */
 bool devfreq_event_is_enabled(struct devfreq_event_dev *edev)
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · bhanuseshukumar

Fixed a typo in description of the function

This is me trying my way into opensource linux kernel contribution journey beginning with this first patch of trivial spelling mistake fix.

We appreciate your contribution, and welcome you to the community :)

However, this is not something that's meaningful to be part of a "git log". commit messages in the git log should convey explanation or reasoning behind purely the content of the patch itself. So it's fine in this case to write just "Fix a typo...."

Read more about this here:
https://docs.kernel.org/process/submitting-patches.html#explanation-body

Quoted 23 lines
---
 drivers/devfreq/devfreq-event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/devfreq-event.c +1 -1
index 70219099c604..020fe30ed5d9 100644
@@ -100,7 +100,7 @@ EXPORT_SYMBOL_GPL(devfreq_event_disable_edev);
  * @edev	: the devfreq-event device
  *
  * Note that this function check whether devfreq-event dev is enabled or not.
- * If return true, the devfreq-event dev is enabeld. If return false, the
+ * If return true, the devfreq-event dev is enabled. If return false, the
  * devfreq-event dev is disabled.
  */
 bool devfreq_event_is_enabled(struct devfreq_event_dev *edev)
Signature · 1 line
2.34.1
Signature · 3 lines
Best regards,
Dhruva Gole
Texas Instruments Incorporated