phy: berlin-usb: don't set device's driver_data
authorJisheng Zhang <jszhang@marvell.com>
Fri, 4 Dec 2015 13:57:01 +0000 (21:57 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Dec 2015 12:13:12 +0000 (17:43 +0530)
commitc3ab642f2f08349c41f7d837f224ce1e63b58197
treef36c986c8b06344d322a62f4278c0946bad7443c
parentc7a0b20ed42c0f4e1f80e7a9dfa6502894a82e22
phy: berlin-usb: don't set device's driver_data

After commit 739ae3452d0e ("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>
drivers/phy/phy-berlin-usb.c