linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] phy: rockchip-inno-usb2: fix spelling mistake: "connecetd" -> "connected"
@ 2017-02-22 23:30 Colin King
  2017-03-30  5:32 ` Kishon Vijay Abraham I
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2017-02-22 23:30 UTC (permalink / raw)
  To: Kishon Vijay Abraham I, Heiko Stuebner, linux-arm-kernel, linux-rockchip
  Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in dev_dbg message, also rejoin
lines to clean up checkpatch warning

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/phy/phy-rockchip-inno-usb2.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c
index 4ea95c2..761a921 100644
--- a/drivers/phy/phy-rockchip-inno-usb2.c
+++ b/drivers/phy/phy-rockchip-inno-usb2.c
@@ -554,8 +554,7 @@ static void rockchip_usb2phy_otg_sm_work(struct work_struct *work)
 			case USB_CHG_STATE_DETECTED:
 				switch (rphy->chg_type) {
 				case POWER_SUPPLY_TYPE_USB:
-					dev_dbg(&rport->phy->dev,
-						"sdp cable is connecetd\n");
+					dev_dbg(&rport->phy->dev, "sdp cable is connected\n");
 					rockchip_usb2phy_power_on(rport->phy);
 					rport->state = OTG_STATE_B_PERIPHERAL;
 					notify_charger = true;
@@ -563,16 +562,14 @@ static void rockchip_usb2phy_otg_sm_work(struct work_struct *work)
 					cable = EXTCON_CHG_USB_SDP;
 					break;
 				case POWER_SUPPLY_TYPE_USB_DCP:
-					dev_dbg(&rport->phy->dev,
-						"dcp cable is connecetd\n");
+					dev_dbg(&rport->phy->dev, "dcp cable is connected\n");
 					rockchip_usb2phy_power_off(rport->phy);
 					notify_charger = true;
 					sch_work = true;
 					cable = EXTCON_CHG_USB_DCP;
 					break;
 				case POWER_SUPPLY_TYPE_USB_CDP:
-					dev_dbg(&rport->phy->dev,
-						"cdp cable is connecetd\n");
+					dev_dbg(&rport->phy->dev, "cdp cable is connected\n");
 					rockchip_usb2phy_power_on(rport->phy);
 					rport->state = OTG_STATE_B_PERIPHERAL;
 					notify_charger = true;
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] phy: rockchip-inno-usb2: fix spelling mistake: "connecetd" -> "connected"
  2017-02-22 23:30 [PATCH] phy: rockchip-inno-usb2: fix spelling mistake: "connecetd" -> "connected" Colin King
@ 2017-03-30  5:32 ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 2+ messages in thread
From: Kishon Vijay Abraham I @ 2017-03-30  5:32 UTC (permalink / raw)
  To: Colin King, Heiko Stuebner, linux-arm-kernel, linux-rockchip; +Cc: linux-kernel



On Thursday 23 February 2017 05:00 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistake in dev_dbg message, also rejoin
> lines to clean up checkpatch warning
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

merged, thanks.

-Kishon
> ---
>  drivers/phy/phy-rockchip-inno-usb2.c | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c
> index 4ea95c2..761a921 100644
> --- a/drivers/phy/phy-rockchip-inno-usb2.c
> +++ b/drivers/phy/phy-rockchip-inno-usb2.c
> @@ -554,8 +554,7 @@ static void rockchip_usb2phy_otg_sm_work(struct work_struct *work)
>  			case USB_CHG_STATE_DETECTED:
>  				switch (rphy->chg_type) {
>  				case POWER_SUPPLY_TYPE_USB:
> -					dev_dbg(&rport->phy->dev,
> -						"sdp cable is connecetd\n");
> +					dev_dbg(&rport->phy->dev, "sdp cable is connected\n");
>  					rockchip_usb2phy_power_on(rport->phy);
>  					rport->state = OTG_STATE_B_PERIPHERAL;
>  					notify_charger = true;
> @@ -563,16 +562,14 @@ static void rockchip_usb2phy_otg_sm_work(struct work_struct *work)
>  					cable = EXTCON_CHG_USB_SDP;
>  					break;
>  				case POWER_SUPPLY_TYPE_USB_DCP:
> -					dev_dbg(&rport->phy->dev,
> -						"dcp cable is connecetd\n");
> +					dev_dbg(&rport->phy->dev, "dcp cable is connected\n");
>  					rockchip_usb2phy_power_off(rport->phy);
>  					notify_charger = true;
>  					sch_work = true;
>  					cable = EXTCON_CHG_USB_DCP;
>  					break;
>  				case POWER_SUPPLY_TYPE_USB_CDP:
> -					dev_dbg(&rport->phy->dev,
> -						"cdp cable is connecetd\n");
> +					dev_dbg(&rport->phy->dev, "cdp cable is connected\n");
>  					rockchip_usb2phy_power_on(rport->phy);
>  					rport->state = OTG_STATE_B_PERIPHERAL;
>  					notify_charger = true;
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-30  5:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 23:30 [PATCH] phy: rockchip-inno-usb2: fix spelling mistake: "connecetd" -> "connected" Colin King
2017-03-30  5:32 ` Kishon Vijay Abraham I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).