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

Commit 753ddf52 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: wm8996: Avoid a redundant i2c_get_clientdata call in wm8996_i2c_remove

parent 1d533de9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3144,7 +3144,7 @@ static __devexit int wm8996_i2c_remove(struct i2c_client *client)
	snd_soc_unregister_codec(&client->dev);
	if (wm8996->pdata.ldo_ena > 0)
		gpio_free(wm8996->pdata.ldo_ena);
	kfree(i2c_get_clientdata(client));
	kfree(wm8996);
	return 0;
}