linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] phy: cpcap-usb: Remove some useless code
@ 2020-05-07 20:31 Christophe JAILLET
  2020-05-08 15:22 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe JAILLET @ 2020-05-07 20:31 UTC (permalink / raw)
  To: kishon, vkoul, tony, pavel, sebastian.reichel
  Cc: linux-kernel, kernel-janitors, Christophe JAILLET

Axe a clk that is unused in the driver.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/phy/motorola/phy-cpcap-usb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/phy/motorola/phy-cpcap-usb.c b/drivers/phy/motorola/phy-cpcap-usb.c
index 12e71a315a2c..089db0dea703 100644
--- a/drivers/phy/motorola/phy-cpcap-usb.c
+++ b/drivers/phy/motorola/phy-cpcap-usb.c
@@ -122,7 +122,6 @@ enum cpcap_gpio_mode {
 struct cpcap_phy_ddata {
 	struct regmap *reg;
 	struct device *dev;
-	struct clk *refclk;
 	struct usb_phy phy;
 	struct delayed_work detect_work;
 	struct pinctrl *pins;
@@ -707,7 +706,6 @@ static int cpcap_usb_phy_remove(struct platform_device *pdev)
 
 	usb_remove_phy(&ddata->phy);
 	cancel_delayed_work_sync(&ddata->detect_work);
-	clk_unprepare(ddata->refclk);
 	regulator_disable(ddata->vusb);
 
 	return 0;
-- 
2.25.1


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

* Re: [PATCH] phy: cpcap-usb: Remove some useless code
  2020-05-07 20:31 [PATCH] phy: cpcap-usb: Remove some useless code Christophe JAILLET
@ 2020-05-08 15:22 ` Tony Lindgren
  2020-05-13  2:21   ` Kishon Vijay Abraham I
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2020-05-08 15:22 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: kishon, vkoul, pavel, sebastian.reichel, linux-kernel, kernel-janitors

* Christophe JAILLET <christophe.jaillet@wanadoo.fr> [200507 20:32]:
> Axe a clk that is unused in the driver.

Thanks for fixing it:

Acked-by: Tony Lindgren <tony@atomide.com>

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

* Re: [PATCH] phy: cpcap-usb: Remove some useless code
  2020-05-08 15:22 ` Tony Lindgren
@ 2020-05-13  2:21   ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 3+ messages in thread
From: Kishon Vijay Abraham I @ 2020-05-13  2:21 UTC (permalink / raw)
  To: Tony Lindgren, Christophe JAILLET
  Cc: vkoul, pavel, sebastian.reichel, linux-kernel, kernel-janitors



On 5/8/2020 8:52 PM, Tony Lindgren wrote:
> * Christophe JAILLET <christophe.jaillet@wanadoo.fr> [200507 20:32]:
>> Axe a clk that is unused in the driver.
> 
> Thanks for fixing it:
> 
> Acked-by: Tony Lindgren <tony@atomide.com>

merged, thanks!

-Kishon

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

end of thread, other threads:[~2020-05-13  2:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 20:31 [PATCH] phy: cpcap-usb: Remove some useless code Christophe JAILLET
2020-05-08 15:22 ` Tony Lindgren
2020-05-13  2:21   ` 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).