summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-10 18:10:38 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2021-11-11 22:45:04 +0000
commitaae6b55b2db351c9a6bd267bbfe63a4ac2594dc0 (patch)
treebb95f8702ab32f6101f9360e339ed18695283f07 /src/device
parent94b3735ce19ba1c551108a87f0c6188980e33e5f (diff)
device/azalia_device: Drop unused function parameter
The `dev` parameter of the `azalia_codecs_init()` function is not used. Remove it, and update all call sites accordingly. Change-Id: Idbe4a6ee5e81d5a7fd451fb83e0fe91bd0c09f0e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59119 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/azalia_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c
index 2305101019..e61e1dcd77 100644
--- a/src/device/azalia_device.c
+++ b/src/device/azalia_device.c
@@ -270,7 +270,7 @@ void azalia_codec_init(u8 *base, int addr, const u32 *verb_table, u32 verb_table
mainboard_azalia_program_runtime_verbs(base, reg32);
}
-void azalia_codecs_init(struct device *dev, u8 *base, u16 codec_mask)
+void azalia_codecs_init(u8 *base, u16 codec_mask)
{
int i;
@@ -300,7 +300,7 @@ void azalia_audio_init(struct device *dev)
if (codec_mask) {
printk(BIOS_DEBUG, "azalia_audio: codec_mask = %02x\n", codec_mask);
- azalia_codecs_init(dev, base, codec_mask);
+ azalia_codecs_init(base, codec_mask);
}
}