summaryrefslogtreecommitdiff
path: root/include/linux/ulpi
diff options
context:
space:
mode:
authorTal Shorer <tal.shorer@gmail.com>2016-08-16 19:04:50 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-06 10:47:24 +0300
commite6f74849784ccf275226d5d3ddfb96c71fa90383 (patch)
treea7f2ba33065d9479ace41b6efb3af54f875ea557 /include/linux/ulpi
parent5c42f38795645834a7c23998bd74d35a37bff078 (diff)
usb: ulpi: rename operations {read|write}_dev to simply {read|write}
With the removal of the old {read|write} operations, we can now safely rename the new api operations {read|write}_dev to use the shorter and clearer names {read|write}, respectively. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ulpi/interface.h b/include/linux/ulpi/interface.h
index 71f3c99771aa..ac3cd8058d9c 100644
--- a/include/linux/ulpi/interface.h
+++ b/include/linux/ulpi/interface.h
@@ -13,8 +13,8 @@ struct ulpi;
*/
struct ulpi_ops {
struct device *dev;
- int (*read_dev)(struct device *dev, u8 addr);
- int (*write_dev)(struct device *dev, u8 addr, u8 val);
+ int (*read)(struct device *dev, u8 addr);
+ int (*write)(struct device *dev, u8 addr, u8 val);
};
struct ulpi *ulpi_register_interface(struct device *, struct ulpi_ops *);