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

Skip to content
Commit 5144c534 authored by Axel Lin's avatar Axel Lin Committed by Takashi Iwai
Browse files

ALSA: aoa: Remove wrong i2c_set_clientdata in onyx_i2c_remove()



It does not make sense to set clientdata to onyx in onyx_i2c_remove()
as we are going to kfree onyx.
What we really want here is i2c_set_clientdata(client, NULL);
Since the i2c core will take care of it now, so this patch just removes it.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 93430096
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment