Skip to content
Snippets Groups Projects
Commit 02af708d authored by Christopher Obbard's avatar Christopher Obbard
Browse files

drivers: mfd: fusb302: Fix build errors

parent 71ed5007
No related branches found
No related tags found
No related merge requests found
...@@ -3346,8 +3346,7 @@ static void fusb302_work_func(struct work_struct *work) ...@@ -3346,8 +3346,7 @@ static void fusb302_work_func(struct work_struct *work)
state_machine_typec(chip); state_machine_typec(chip);
} }
static int fusb30x_probe(struct i2c_client *client, static int fusb30x_probe(struct i2c_client *client)
const struct i2c_device_id *id)
{ {
struct fusb30x_chip *chip; struct fusb30x_chip *chip;
struct PD_CAP_INFO *pd_cap_info; struct PD_CAP_INFO *pd_cap_info;
...@@ -3563,7 +3562,6 @@ static void fusb30x_remove(struct i2c_client *client) ...@@ -3563,7 +3562,6 @@ static void fusb30x_remove(struct i2c_client *client)
struct fusb30x_chip *chip = i2c_get_clientdata(client); struct fusb30x_chip *chip = i2c_get_clientdata(client);
destroy_workqueue(chip->fusb30x_wq); destroy_workqueue(chip->fusb30x_wq);
return 0;
} }
static void fusb30x_shutdown(struct i2c_client *client) static void fusb30x_shutdown(struct i2c_client *client)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment