diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2017-11-25 18:48:32 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-11-26 19:16:31 -0500 |
commit | 5ddc3c656bfb5c90d0196ff72b908d0343fef85e (patch) | |
tree | 4f4a5d61c5069f5f956afc2b9ad52410e2dc2d87 /drivers/input/misc | |
parent | c25141062a82ae8bddced1b3ce2b57a1c0efabe0 (diff) |
Input: ims-pcu - fix typo in the error message
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>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/ims-pcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index ae473123583b..3d51175c4d72 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c | |||
@@ -1651,7 +1651,7 @@ ims_pcu_get_cdc_union_desc(struct usb_interface *intf) | |||
1651 | return union_desc; | 1651 | return union_desc; |
1652 | 1652 | ||
1653 | dev_err(&intf->dev, | 1653 | dev_err(&intf->dev, |
1654 | "Union descriptor to short (%d vs %zd\n)", | 1654 | "Union descriptor too short (%d vs %zd)\n", |
1655 | union_desc->bLength, sizeof(*union_desc)); | 1655 | union_desc->bLength, sizeof(*union_desc)); |
1656 | return NULL; | 1656 | return NULL; |
1657 | } | 1657 | } |