]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/soc/davinci/davinci-mcasp.c
ASoC: davinci-mcasp: Change IO functions parameter list
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 14 Nov 2013 09:35:36 +0000 (11:35 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 10 Dec 2013 11:22:16 +0000 (11:22 +0000)
commitf68205a7f8c0b1fd02cec6116bbb66bb4fd7bc51
tree0dee6fcafd3aadc173577d091cf1fc1e84e890c5
parent453c499028bf2ecf3b31ccb7c3657fe1b0b28943
ASoC: davinci-mcasp: Change IO functions parameter list

Instead of passing __iomem address (mcasp->base + register_offset) pass
the main mcasp structure and only access the mcasp->base in the low level
IO functions.
In most cases this helps with code readability and it will make it easier
to switch over to regmap in the future.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-mcasp.c