diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-12-05 18:19:30 +0100 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-12-17 13:54:06 +0000 |
commit | fcf8a3a6a37014563b3623baa8e89f13f8587999 (patch) | |
tree | aa94ad3005acec4eba8d3622d4cb3cce50517d27 /src | |
parent | 75c4f06314f64b570f7535e308ab0f4e7b316dea (diff) |
azalia: Drop unused parameter from `azalia_find_verb`
The `dev` parameter isn't used anywhere.
Change-Id: I05643f8201137ffe89ded1e3f989c5a0f04e0af1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48349
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/device/azalia_device.c | 4 | ||||
-rw-r--r-- | src/include/device/azalia_device.h | 2 | ||||
-rw-r--r-- | src/southbridge/intel/bd82x6x/azalia.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801gx/azalia.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801ix/azalia.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801jx/azalia.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/ibexpeak/azalia.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c index 20e7d2b50e..440b6fb83d 100644 --- a/src/device/azalia_device.c +++ b/src/device/azalia_device.c @@ -85,7 +85,7 @@ no_codec: return 0; } -u32 azalia_find_verb(struct device *dev, u32 viddid, const u32 **verb) +u32 azalia_find_verb(u32 viddid, const u32 **verb) { int idx = 0; @@ -179,7 +179,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) /* 2 */ reg32 = read32(base + HDA_IR_REG); printk(BIOS_DEBUG, "azalia_audio: codec viddid: %08x\n", reg32); - verb_size = azalia_find_verb(dev, reg32, &verb); + verb_size = azalia_find_verb(reg32, &verb); if (!verb_size) { printk(BIOS_DEBUG, "azalia_audio: No verb!\n"); diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index 7b5f5d61b1..4e0674e2e3 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -19,7 +19,7 @@ #define HDA_ICII_VALID (1 << 1) int azalia_set_bits(void *port, u32 mask, u32 val); -u32 azalia_find_verb(struct device *dev, u32 viddid, const u32 **verb); +u32 azalia_find_verb(u32 viddid, const u32 **verb); void azalia_audio_init(struct device *dev); extern struct device_operations default_azalia_audio_ops; diff --git a/src/southbridge/intel/bd82x6x/azalia.c b/src/southbridge/intel/bd82x6x/azalia.c index 1925a6f47b..136d6f2f43 100644 --- a/src/southbridge/intel/bd82x6x/azalia.c +++ b/src/southbridge/intel/bd82x6x/azalia.c @@ -113,7 +113,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) /* 2 */ reg32 = read32(base + HDA_IR_REG); printk(BIOS_DEBUG, "Azalia: codec viddid: %08x\n", reg32); - verb_size = azalia_find_verb(dev, reg32, &verb); + verb_size = azalia_find_verb(reg32, &verb); if (!verb_size) { printk(BIOS_DEBUG, "Azalia: No verb!\n"); diff --git a/src/southbridge/intel/i82801gx/azalia.c b/src/southbridge/intel/i82801gx/azalia.c index fa3e9b405c..71f7647ac1 100644 --- a/src/southbridge/intel/i82801gx/azalia.c +++ b/src/southbridge/intel/i82801gx/azalia.c @@ -111,7 +111,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) /* 2 */ reg32 = read32(base + HDA_IR_REG); printk(BIOS_DEBUG, "Azalia: codec viddid: %08x\n", reg32); - verb_size = azalia_find_verb(dev, reg32, &verb); + verb_size = azalia_find_verb(reg32, &verb); if (!verb_size) { printk(BIOS_DEBUG, "Azalia: No verb!\n"); diff --git a/src/southbridge/intel/i82801ix/azalia.c b/src/southbridge/intel/i82801ix/azalia.c index 9752285632..5df3213905 100644 --- a/src/southbridge/intel/i82801ix/azalia.c +++ b/src/southbridge/intel/i82801ix/azalia.c @@ -111,7 +111,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) /* 2 */ reg32 = read32(base + HDA_IR_REG); printk(BIOS_DEBUG, "Azalia: codec viddid: %08x\n", reg32); - verb_size = azalia_find_verb(dev, reg32, &verb); + verb_size = azalia_find_verb(reg32, &verb); if (!verb_size) { printk(BIOS_DEBUG, "Azalia: No verb!\n"); diff --git a/src/southbridge/intel/i82801jx/azalia.c b/src/southbridge/intel/i82801jx/azalia.c index 81768bb693..89e6a8c9f3 100644 --- a/src/southbridge/intel/i82801jx/azalia.c +++ b/src/southbridge/intel/i82801jx/azalia.c @@ -111,7 +111,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) /* 2 */ reg32 = read32(base + HDA_IR_REG); printk(BIOS_DEBUG, "Azalia: codec viddid: %08x\n", reg32); - verb_size = azalia_find_verb(dev, reg32, &verb); + verb_size = azalia_find_verb(reg32, &verb); if (!verb_size) { printk(BIOS_DEBUG, "Azalia: No verb!\n"); diff --git a/src/southbridge/intel/ibexpeak/azalia.c b/src/southbridge/intel/ibexpeak/azalia.c index af4f8ff2b2..0ded4d3f50 100644 --- a/src/southbridge/intel/ibexpeak/azalia.c +++ b/src/southbridge/intel/ibexpeak/azalia.c @@ -109,7 +109,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) /* 2 */ reg32 = read32(base + HDA_IR_REG); printk(BIOS_DEBUG, "Azalia: codec viddid: %08x\n", reg32); - verb_size = azalia_find_verb(dev, reg32, &verb); + verb_size = azalia_find_verb(reg32, &verb); if (!verb_size) { printk(BIOS_DEBUG, "Azalia: No verb!\n"); |