usb: otg: utils: rename function name in OTG utils
_transceiver() in otg.c is replaced with _phy. usb_set_transceiver is replaced with usb_add_phy to make it similar to other usb standard function names like usb_add_hcd. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
このコミットが含まれているのは:
@@ -1555,9 +1555,9 @@ static int __init msm_otg_probe(struct platform_device *pdev)
|
||||
phy->otg->set_host = msm_otg_set_host;
|
||||
phy->otg->set_peripheral = msm_otg_set_peripheral;
|
||||
|
||||
ret = usb_set_transceiver(&motg->phy);
|
||||
ret = usb_add_phy(&motg->phy);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "usb_set_transceiver failed\n");
|
||||
dev_err(&pdev->dev, "usb_add_phy failed\n");
|
||||
goto free_irq;
|
||||
}
|
||||
|
||||
@@ -1624,7 +1624,7 @@ static int __devexit msm_otg_remove(struct platform_device *pdev)
|
||||
device_init_wakeup(&pdev->dev, 0);
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
|
||||
usb_set_transceiver(NULL);
|
||||
usb_add_phy(NULL);
|
||||
free_irq(motg->irq, motg);
|
||||
|
||||
/*
|
||||
|
新しいイシューから参照
ユーザーをブロックする