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>
This commit is contained in:
Tal Shorer
2016-08-16 19:04:50 +03:00
committed by Felipe Balbi
parent 5c42f38795
commit e6f7484978
3 changed files with 6 additions and 6 deletions

View File

@@ -66,8 +66,8 @@ static int dwc3_ulpi_write(struct device *dev, u8 addr, u8 val)
}
static struct ulpi_ops dwc3_ulpi_ops = {
.read_dev = dwc3_ulpi_read,
.write_dev = dwc3_ulpi_write,
.read = dwc3_ulpi_read,
.write = dwc3_ulpi_write,
};
int dwc3_ulpi_init(struct dwc3 *dwc)