[PATCH][V2] Input: applespi: Use correct struct names in comment

Colin Ian King posted 1 patch 1 year, 9 months ago
drivers/input/keyboard/applespi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][V2] Input: applespi: Use correct struct names in comment
Posted by Colin Ian King 1 year, 9 months ago
The incorrect structure name is being used in the comment for struct
touchpad_info_protocol. Correct it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
[V2]: Fix commit message
---
 drivers/input/keyboard/applespi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/keyboard/applespi.c b/drivers/input/keyboard/applespi.c
index cbc6c0d4670a..fab5473ae5da 100644
--- a/drivers/input/keyboard/applespi.c
+++ b/drivers/input/keyboard/applespi.c
@@ -202,7 +202,7 @@ struct command_protocol_tp_info {
 };
 
 /**
- * struct touchpad_info - touchpad info response.
+ * struct touchpad_info_protocol - touchpad info response.
  * message.type = 0x1020, message.length = 0x006e
  *
  * @unknown1:		unknown
-- 
2.35.3
Re: [PATCH][V2] Input: applespi: Use correct struct names in comment
Posted by Dmitry Torokhov 1 year, 8 months ago
On Fri, Aug 05, 2022 at 06:47:54PM +0100, Colin Ian King wrote:
> The incorrect structure name is being used in the comment for struct
> touchpad_info_protocol. Correct it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Applied, thank you.

-- 
Dmitry