From: Axel Lin Date: Tue, 28 Jul 2015 05:39:01 +0000 (+0800) Subject: ASoC: wm8983: Get rid of wm8983_access_masks table X-Git-Tag: omap-for-v4.3/fixes-rc1~91^2~7^2~1^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85e7118412fea31464b62d00bcf4a65fa8904dcc;p=pandora-kernel.git ASoC: wm8983: Get rid of wm8983_access_masks table The max8983_access table is used for look up readable/writable attributes of registers. The writable registers are mostly in continuous ranges, so we can replace max8983_access table by using case range. The read fields are all 0, so just drop implement of .readable callback. Also set .max_register setting. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed