]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 fc82408e3b482fe047bca2caee8cdd05c33fe535..d41ba747220d8cdcce5759ee3b6e26d1244dd334 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;