]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6ea02e586fc55bfb20dbf22f8edcb6025bf02a5
tree20866fceaedfe5adc224599e376658af6cb30fa9
parent7fbe4d16db655023e490940f8f5a41562e2443b9
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