Skip to content
Snippets Groups Projects
Commit 239480ab authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: ak411x: Use array instead of offsetof()


The ak4113, ak4114 and ak4117 i2c drivers have some tricky codes to
access the struct fields in the callback.  This can be simplified by
replacing the struct fields with the array.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2e0de6ea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment