[PATCH] thunderbolt: Fix typo in tb_eeprom_ctl_read documentation

Dominik Karol Piątkowski posted 1 patch 4 months, 1 week ago
drivers/thunderbolt/eeprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] thunderbolt: Fix typo in tb_eeprom_ctl_read documentation
Posted by Dominik Karol Piątkowski 4 months, 1 week ago
Fix presumed copy-paste typo of tb_eeprom_ctl_read documentation
referring to tb_eeprom_ctl_write.

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
---
 drivers/thunderbolt/eeprom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c
index 1af65fece495..5477b9437048 100644
--- a/drivers/thunderbolt/eeprom.c
+++ b/drivers/thunderbolt/eeprom.c
@@ -21,7 +21,7 @@ static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl)
 }
 
 /*
- * tb_eeprom_ctl_write() - read control word
+ * tb_eeprom_ctl_read() - read control word
  */
 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl)
 {
-- 
2.43.0
Re: [PATCH] thunderbolt: Fix typo in tb_eeprom_ctl_read documentation
Posted by Mika Westerberg 3 months, 3 weeks ago
On Thu, Oct 02, 2025 at 05:35:33PM +0000, Dominik Karol Piątkowski wrote:
> Fix presumed copy-paste typo of tb_eeprom_ctl_read documentation
> referring to tb_eeprom_ctl_write.
> 
> Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>

Applied to thunderbolt.git/next, thanks!