2021-08-26 12:41:02

by Colin King

[permalink] [raw]
Subject: [PATCH] usb: typec: tcpm: Fix spelling mistake "atleast" -> "at least"

From: Colin Ian King <[email protected]>

There are spelling mistakes in a comment and a literal string.
Fix them.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/usb/typec/tcpm/tcpm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
index 049f4c61ee82..b981fc39fa3c 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -278,7 +278,7 @@ struct pd_mode_data {
* @req_max_curr: Requested max current of the port partner
* @req_out_volt: Requested output voltage to the port partner
* @req_op_curr: Requested operating current to the port partner
- * @supported: Parter has atleast one APDO hence supports PPS
+ * @supported: Parter has at least one APDO hence supports PPS
* @active: PPS mode is active
*/
struct pd_pps_data {
@@ -2050,7 +2050,7 @@ enum pdo_err {

static const char * const pdo_err_msg[] = {
[PDO_ERR_NO_VSAFE5V] =
- " err: source/sink caps should atleast have vSafe5V",
+ " err: source/sink caps should at least have vSafe5V",
[PDO_ERR_VSAFE5V_NOT_FIRST] =
" err: vSafe5V Fixed Supply Object Shall always be the first object",
[PDO_ERR_PDO_TYPE_NOT_IN_ORDER] =
--
2.32.0


2021-08-26 14:00:28

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] usb: typec: tcpm: Fix spelling mistake "atleast" -> "at least"

On 8/26/21 5:39 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are spelling mistakes in a comment and a literal string.
> Fix them.
>
> Signed-off-by: Colin Ian King <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> drivers/usb/typec/tcpm/tcpm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
> index 049f4c61ee82..b981fc39fa3c 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -278,7 +278,7 @@ struct pd_mode_data {
> * @req_max_curr: Requested max current of the port partner
> * @req_out_volt: Requested output voltage to the port partner
> * @req_op_curr: Requested operating current to the port partner
> - * @supported: Parter has atleast one APDO hence supports PPS
> + * @supported: Parter has at least one APDO hence supports PPS
> * @active: PPS mode is active
> */
> struct pd_pps_data {
> @@ -2050,7 +2050,7 @@ enum pdo_err {
>
> static const char * const pdo_err_msg[] = {
> [PDO_ERR_NO_VSAFE5V] =
> - " err: source/sink caps should atleast have vSafe5V",
> + " err: source/sink caps should at least have vSafe5V",
> [PDO_ERR_VSAFE5V_NOT_FIRST] =
> " err: vSafe5V Fixed Supply Object Shall always be the first object",
> [PDO_ERR_PDO_TYPE_NOT_IN_ORDER] =
>

2021-08-26 14:08:39

by Heikki Krogerus

[permalink] [raw]
Subject: Re: [PATCH] usb: typec: tcpm: Fix spelling mistake "atleast" -> "at least"

On Thu, Aug 26, 2021 at 01:39:59PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are spelling mistakes in a comment and a literal string.
> Fix them.
>
> Signed-off-by: Colin Ian King <[email protected]>

Acked-by: Heikki Krogerus <[email protected]>

> ---
> drivers/usb/typec/tcpm/tcpm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
> index 049f4c61ee82..b981fc39fa3c 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -278,7 +278,7 @@ struct pd_mode_data {
> * @req_max_curr: Requested max current of the port partner
> * @req_out_volt: Requested output voltage to the port partner
> * @req_op_curr: Requested operating current to the port partner
> - * @supported: Parter has atleast one APDO hence supports PPS
> + * @supported: Parter has at least one APDO hence supports PPS
> * @active: PPS mode is active
> */
> struct pd_pps_data {
> @@ -2050,7 +2050,7 @@ enum pdo_err {
>
> static const char * const pdo_err_msg[] = {
> [PDO_ERR_NO_VSAFE5V] =
> - " err: source/sink caps should atleast have vSafe5V",
> + " err: source/sink caps should at least have vSafe5V",
> [PDO_ERR_VSAFE5V_NOT_FIRST] =
> " err: vSafe5V Fixed Supply Object Shall always be the first object",
> [PDO_ERR_PDO_TYPE_NOT_IN_ORDER] =
> --
> 2.32.0

--
heikki

2021-08-26 15:15:53

by Adam Thomson

[permalink] [raw]
Subject: RE: [PATCH] usb: typec: tcpm: Fix spelling mistake "atleast" -> "at least"

On 26 August 2021 13:40, Colin King wrote:

> From: Colin Ian King <[email protected]>
>
> There are spelling mistakes in a comment and a literal string.
> Fix them.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/usb/typec/tcpm/tcpm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
> index 049f4c61ee82..b981fc39fa3c 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -278,7 +278,7 @@ struct pd_mode_data {
> * @req_max_curr: Requested max current of the port partner
> * @req_out_volt: Requested output voltage to the port partner
> * @req_op_curr: Requested operating current to the port partner
> - * @supported: Parter has atleast one APDO hence supports PPS
> + * @supported: Parter has at least one APDO hence supports PPS

Actually 'Parter' should be 'Partner' here as well.

> * @active: PPS mode is active
> */
> struct pd_pps_data {
> @@ -2050,7 +2050,7 @@ enum pdo_err {
>
> static const char * const pdo_err_msg[] = {
> [PDO_ERR_NO_VSAFE5V] =
> - " err: source/sink caps should atleast have vSafe5V",
> + " err: source/sink caps should at least have vSafe5V",
> [PDO_ERR_VSAFE5V_NOT_FIRST] =
> " err: vSafe5V Fixed Supply Object Shall always be the first object",
> [PDO_ERR_PDO_TYPE_NOT_IN_ORDER] =
> --
> 2.32.0