diff options
author | Peter E. Berger <pberger@brimson.com> | 2015-09-16 03:12:59 -0500 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2015-10-09 12:04:37 +0200 |
commit | ef9324b2bd2bb879a5512cfb9210d86e8ed6093f (patch) | |
tree | 652948ed0f74dcd3b425a3d67fae44ebcbd5ca69 /drivers/usb/serial/io_ti.c | |
parent | 277bf37bff1b470ebf33da25f8977e08e4a2193e (diff) | |
download | linux-ef9324b2bd2bb879a5512cfb9210d86e8ed6093f.tar.bz2 |
USB: io_ti: Use serial->interface for messages in download_fw
Use serial->interface instead of serial->dev for messages in download_fw().
Signed-off-by: Peter E. Berger <pberger@brimson.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index fc82408e3b48..d41ba747220d 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c @@ -989,7 +989,7 @@ static int check_fw_sanity(struct edgeport_serial *serial, static int download_fw(struct edgeport_serial *serial, const struct firmware *fw) { - struct device *dev = &serial->serial->dev->dev; + struct device *dev = &serial->serial->interface->dev; int status = 0; int start_address; struct edge_ti_manuf_descriptor *ti_manuf_desc; |