Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92e9a850 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

[PATCH] windfarm_smu_sat.c: simplify around i2c_add_driver()

parent 28298232
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -397,12 +397,7 @@ static int wf_sat_detach(struct i2c_client *client)

static int __init sat_sensors_init(void)
{
	int err;

	err = i2c_add_driver(&wf_sat_driver);
	if (err < 0)
		return err;
	return 0;
	return i2c_add_driver(&wf_sat_driver);
}

static void __exit sat_sensors_exit(void)