Commit ef9324b2 authored by Peter E. Berger's avatar Peter E. Berger Committed by Johan Hovold

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: default avatarPeter E. Berger <pberger@brimson.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 277bf37b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment