commit | 239480ab92a52544748749c8445f4e12495e4f69 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri May 12 10:47:16 2017 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed May 17 07:13:03 2017 +0200 |
tree | f218eef1a263ef505a7005166ab1dcd412fc230b | |
parent | 2e0de6ea956ff429cf11bd1a92d7444bc6000698 [diff] |
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: Takashi Iwai <tiwai@suse.de>