Skip to content

Commit

Permalink
Input: ims-pcu - fix typo in the error message
Browse files Browse the repository at this point in the history
1. change "to" to "too".
2. move ")" to the front of "\n", which discovered by Joe Perches.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Joe Perches <joe@perches.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Zhen Lei authored and dtor committed Nov 27, 2017
1 parent c251410 commit 5ddc3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/misc/ims-pcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ ims_pcu_get_cdc_union_desc(struct usb_interface *intf)
return union_desc;

dev_err(&intf->dev,
"Union descriptor to short (%d vs %zd\n)",
"Union descriptor too short (%d vs %zd)\n",
union_desc->bLength, sizeof(*union_desc));
return NULL;
}
Expand Down

0 comments on commit 5ddc3c6

Please sign in to comment.