]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
of: Clarify OF device context in of_match_device() comment
authorBagas Sanjaya <bagasdotme@gmail.com>
Wed, 30 Jul 2025 01:31:13 +0000 (08:31 +0700)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 30 Jul 2025 22:49:06 +0000 (17:49 -0500)
Open Firmware abbreviation (OF) in of_match_device() comment is written
in lowercase instead, which is mistaken for prepositional word "of"
([1], [2], [3], [4]) duplicate.

Clarify the context.

Link: https://lore.kernel.org/all/CAL_JsqLypcBCOVZ8yYWK0J_xc2Vcr+ANrX_3v4vN55Srp4RknQ@mail.gmail.com/
Link: https://lore.kernel.org/all/20220926185852.GA2581083-robh@kernel.org/
Link: https://lore.kernel.org/all/CAL_JsqL4GvgFYzGUfhW5pvm4wYGrFaj6gHOYZjnOMuk2zCz67w@mail.gmail.com/
Link: https://lore.kernel.org/all/20220627173825.GA2637590-robh@kernel.org/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20250730013113.11264-1-bagasdotme@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/of/device.c

index c80426510ec2c0ddb1434b649edc9c1b8e661d19..f7e75e5276677e1d9101975e07769a5e20e6d0df 100644 (file)
@@ -17,8 +17,8 @@
 
 /**
  * of_match_device - Tell if a struct device matches an of_device_id list
- * @matches: array of of device match structures to search in
- * @dev: the of device structure to match against
+ * @matches: array of of_device_id match structures to search in
+ * @dev: the OF device structure to match against
  *
  * Used by a driver to check whether an platform_device present in the
  * system is in its list of supported devices.