ASoC: rsnd: remove RSND_REG_ from rsnd_reg
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 12 Dec 2018 07:03:58 +0000 (16:03 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 12 Dec 2018 16:17:45 +0000 (16:17 +0000)
commitb7169ddea2f2a90538f606688adf4948f2da82ce
tree20866fceaedfe5adc224599e376658af6cb30fa9
parent0a26d6df4fd8aa8f4fb444446d162e01c3e349c0
ASoC: rsnd: remove RSND_REG_ from rsnd_reg

Current rsnd is using RSND_REG_xxx for register naming,
and using RSND_REG_##f style macro for read/write.
The biggest reason why it uses this style is that
we can avoid non-existing register access.
But, its demerit is sequential register access code will
be very ugly.
Current rsnd driver is well tested, so, let's remove RSND_REG_
from rsnd_reg, and cleanup sequential register access code.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/ctu.c
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/ssiu.c