summaryrefslogtreecommitdiff
path: root/sound/soc/amd/ps/acp63.h
diff options
context:
space:
mode:
authorSyed Saba Kareem <Syed.SabaKareem@amd.com>2023-04-26 15:22:01 +0300
committerMark Brown <broonie@kernel.org>2023-05-08 02:48:50 +0300
commitec54f8103dd601ca0b540790896262c12fda965a (patch)
tree9a1841181726e1283a2f5818d21f70e10c8b22c0 /sound/soc/amd/ps/acp63.h
parent9abcd24002bf7997be752b6b48b137c4db3a609b (diff)
downloadlinux-ec54f8103dd601ca0b540790896262c12fda965a.tar.xz
ASoC: amd: ps: remove the register read and write wrappers.
Instead of acp63_readl() and acp63_writel() wrappers readl and writel functions can be used directly. Remove acp63_readl() and acp63_writel() wrappers. Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com Link: https://lore.kernel.org/r/20230426122219.3745586-1-Syed.SabaKareem@amd.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/amd/ps/acp63.h')
-rw-r--r--sound/soc/amd/ps/acp63.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/amd/ps/acp63.h b/sound/soc/amd/ps/acp63.h
index 92eb1095c4a6..903b812aa8e8 100644
--- a/sound/soc/amd/ps/acp63.h
+++ b/sound/soc/amd/ps/acp63.h
@@ -92,16 +92,6 @@ struct pdm_dev_data {
struct snd_pcm_substream *capture_stream;
};
-static inline u32 acp63_readl(void __iomem *base_addr)
-{
- return readl(base_addr);
-}
-
-static inline void acp63_writel(u32 val, void __iomem *base_addr)
-{
- writel(val, base_addr);
-}
-
struct acp63_dev_data {
void __iomem *acp63_base;
struct resource *res;