phy: berlin-usb: don't set device's driver_data

After commit 739ae3452d ("phy: berlin-usb: Set drvdata for phy and
use it"), we get the address of priv by phy_get_drvdata(), so there's
no need to set device's driver_data any more. This patch removes the
call of platform_set_drvdata().

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
Jisheng Zhang 2015-12-04 21:57:01 +08:00 коммит произвёл Kishon Vijay Abraham I
Родитель c7a0b20ed4
Коммит c3ab642f2f
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -193,7 +193,6 @@ static int phy_berlin_usb_probe(struct platform_device *pdev)
return PTR_ERR(phy);
}
platform_set_drvdata(pdev, priv);
phy_set_drvdata(phy, priv);
phy_provider =