diff mbox series

usb: typec: tcpm: Fix spelling mistake "atleast" -> "at least"

Message ID 20210826123959.14838-1-colin.king@canonical.com (mailing list archive)
State Accepted
Commit f73800a905a8a9c35b989e8de9ce5cdf328c2b63
Headers show
Series usb: typec: tcpm: Fix spelling mistake "atleast" -> "at least" | expand

Commit Message

Colin King Aug. 26, 2021, 12:39 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/usb/typec/tcpm/tcpm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Guenter Roeck Aug. 26, 2021, 1:58 p.m. UTC | #1
On 8/26/21 5:39 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There are spelling mistakes in a comment and a literal string.
> Fix them.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   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] =
>
Heikki Krogerus Aug. 26, 2021, 2:06 p.m. UTC | #2
On Thu, Aug 26, 2021 at 01:39:59PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There are spelling mistakes in a comment and a literal string.
> Fix them.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  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
Adam Thomson Aug. 26, 2021, 3:12 p.m. UTC | #3
On 26 August 2021 13:40, Colin King wrote:

> From: Colin Ian King <colin.king@canonical.com>
> 
> There are spelling mistakes in a comment and a literal string.
> Fix them.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  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
diff mbox series

Patch

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] =