From: Kuninori Morimoto Date: Fri, 3 Dec 2010 08:37:55 +0000 (+0900) Subject: ASoC: sh: fsi: remove runtime register check from fsi_reg_xxx X-Git-Tag: v2.6.38-rc1~236^2^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8c8b6318c3dad742d03b5fff5360729f7ac2e5a;p=pandora-kernel.git ASoC: sh: fsi: remove runtime register check from fsi_reg_xxx Current FSI driver was checking register range on fsi_reg_xxx function. This runtime check was added to avoid an illegal access from wrong/mistake implementation. But it is useless check under the correct implementation. This patch escape runtime check by using macro technique. If there is wrong implementation, it will be compile error. Signed-off-by: Kuninori Morimoto Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed