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>
Showing
- sound/soc/sh/rcar/adg.c 3 additions, 33 deletionssound/soc/sh/rcar/adg.c
- sound/soc/sh/rcar/ctu.c 17 additions, 52 deletionssound/soc/sh/rcar/ctu.c
- sound/soc/sh/rcar/dvc.c 2 additions, 8 deletionssound/soc/sh/rcar/dvc.c
- sound/soc/sh/rcar/gen.c 12 additions, 11 deletionssound/soc/sh/rcar/gen.c
- sound/soc/sh/rcar/rsnd.h 164 additions, 165 deletionssound/soc/sh/rcar/rsnd.h
- sound/soc/sh/rcar/ssiu.c 14 additions, 45 deletionssound/soc/sh/rcar/ssiu.c
Loading
Please register or sign in to comment