summaryrefslogtreecommitdiff
path: root/include/linux/ulpi
diff options
context:
space:
mode:
authorTal Shorer <tal.shorer@gmail.com>2016-08-16 19:04:51 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-06 10:47:25 +0300
commit042b0f31b2a87799a9c832f71474c5be3517e139 (patch)
treeb2fcd3c4e33579054cea238bbfaa8e5886262dc0 /include/linux/ulpi
parente6f74849784ccf275226d5d3ddfb96c71fa90383 (diff)
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 'include/linux/ulpi')
-rw-r--r--include/linux/ulpi/interface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ulpi/interface.h b/include/linux/ulpi/interface.h
index ac3cd8058d9c..cdedac87ed48 100644
--- a/include/linux/ulpi/interface.h
+++ b/include/linux/ulpi/interface.h
@@ -4,15 +4,14 @@
#include <linux/types.h>
struct ulpi;
+struct device;
/**
* struct ulpi_ops - ULPI register access
- * @dev: the interface provider
* @read: read operation for ULPI register access
* @write: write operation for ULPI register access
*/
struct ulpi_ops {
- struct device *dev;
int (*read)(struct device *dev, u8 addr);
int (*write)(struct device *dev, u8 addr, u8 val);
};