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: Peter E. Berger <pberger@brimson.com> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
049e6dde7e
commit
277bf37bff
1 changed files with 2 additions and 3 deletions
|
@ -785,8 +785,7 @@ exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Build firmware header used for firmware update */
|
/* Build firmware header used for firmware update */
|
||||||
static int build_i2c_fw_hdr(u8 *header, struct device *dev,
|
static int build_i2c_fw_hdr(u8 *header, const struct firmware *fw)
|
||||||
const struct firmware *fw)
|
|
||||||
{
|
{
|
||||||
__u8 *buffer;
|
__u8 *buffer;
|
||||||
int buffer_size;
|
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
|
* UMP Ram to I2C and the firmware will update the
|
||||||
* record type from 0xf2 to 0x02.
|
* record type from 0xf2 to 0x02.
|
||||||
*/
|
*/
|
||||||
status = build_i2c_fw_hdr(header, dev, fw);
|
status = build_i2c_fw_hdr(header, fw);
|
||||||
if (status) {
|
if (status) {
|
||||||
kfree(vheader);
|
kfree(vheader);
|
||||||
kfree(header);
|
kfree(header);
|
||||||
|
|
Loading…
Add table
Reference in a new issue