mb/google/nissa/var/pujjo: Use get_wifi_sar_fw_config_filename

Use get_wifi_sar_fw_config_filename to remove the duplicate code.

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: Ifde714c19f7ab9fe08f870060037db190a80dbd0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71084
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
diff --git a/src/mainboard/google/brya/variants/pujjo/variant.c b/src/mainboard/google/brya/variants/pujjo/variant.c
index 75eb0c2..46a167a 100644
--- a/src/mainboard/google/brya/variants/pujjo/variant.c
+++ b/src/mainboard/google/brya/variants/pujjo/variant.c
@@ -35,21 +35,5 @@
 
 const char *get_wifi_sar_cbfs_filename(void)
 {
-	if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_TABLE_0))) {
-		printk(BIOS_INFO, "Use wifi_sar_0.hex.\n");
-		return "wifi_sar_0.hex";
-	}
-
-	else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_TABLE_1))) {
-		printk(BIOS_INFO, "Use wifi_sar_1.hex.\n");
-		return "wifi_sar_1.hex";
-	}
-
-	else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_TABLE_2))) {
-		printk(BIOS_INFO, "Use wifi_sar_2.hex.\n");
-		return "wifi_sar_2.hex";
-	}
-
-	printk(BIOS_INFO, "Intel Wi-Fi SAR not used, return NULL!\n");
-	return NULL;
+	return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
 }