USB: io_ti: Use serial->interface for messages in download_fw
authorPeter E. Berger <pberger@brimson.com>
Wed, 16 Sep 2015 08:12:59 +0000 (03:12 -0500)
committerJohan Hovold <johan@kernel.org>
Fri, 9 Oct 2015 10:04:37 +0000 (12:04 +0200)
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>
drivers/usb/serial/io_ti.c

index fc82408..d41ba74 100644 (file)
@@ -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;