summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorTal Shorer <tal.shorer@gmail.com>2016-08-16 18:04:51 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-06 09:47:25 +0200
commit042b0f31b2a87799a9c832f71474c5be3517e139 (patch)
treeb2fcd3c4e33579054cea238bbfaa8e5886262dc0 /drivers/usb
parentusb: ulpi: rename operations {read|write}_dev to simply {read|write} (diff)
downloadlinux-042b0f31b2a87799a9c832f71474c5be3517e139.tar.xz
linux-042b0f31b2a87799a9c832f71474c5be3517e139.zip
usb: ulpi: remove "dev" field from struct ulpi_ops
Operations now use ulpi->dev.parent directly instead of via the ulpi_ops struct, making this field unused. Remove it. Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Tal Shorer <tal.shorer@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/common/ulpi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/common/ulpi.c b/drivers/usb/common/ulpi.c
index fdaed7c26c12..0439e9638813 100644
--- a/drivers/usb/common/ulpi.c
+++ b/drivers/usb/common/ulpi.c
@@ -212,7 +212,6 @@ struct ulpi *ulpi_register_interface(struct device *dev, struct ulpi_ops *ops)
return ERR_PTR(-ENOMEM);
ulpi->ops = ops;
- ops->dev = dev;
ret = ulpi_register(dev, ulpi);
if (ret) {