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

USB: io_ti: Remove obsolete dev parameter from build_i2c_fw_hdr

Remove unused "dev" parameter from build_i2c_fw_hdr() and its caller.
Signed-off-by: default avatarPeter E. Berger <pberger@brimson.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 049e6dde
......@@ -785,8 +785,7 @@ static int get_manuf_info(struct edgeport_serial *serial, __u8 *buffer)
}
/* Build firmware header used for firmware update */
static int build_i2c_fw_hdr(u8 *header, struct device *dev,
const struct firmware *fw)
static int build_i2c_fw_hdr(u8 *header, const struct firmware *fw)
{
__u8 *buffer;
int buffer_size;
......@@ -1245,7 +1244,7 @@ static int download_fw(struct edgeport_serial *serial,
* UMP Ram to I2C and the firmware will update the
* record type from 0xf2 to 0x02.
*/
status = build_i2c_fw_hdr(header, dev, fw);
status = build_i2c_fw_hdr(header, fw);
if (status) {
kfree(vheader);
kfree(header);
......
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