From 013534f9bcd7f77c2edb4202f25cd85f927b7a19 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 28 Jan 2025 16:44:16 +0000 Subject: [PATCH] soc/intel/cmn/cnvi: Move "double" comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Have two comments, then two blocks of code makes it hard to read. Seperate them. Change-Id: I32d6b7c389f64305e8357f52b063628cd99816d6 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/86196 Reviewed-by: Jérémy Compostella Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cnvi/cnvi.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/soc/intel/common/block/cnvi/cnvi.c b/src/soc/intel/common/block/cnvi/cnvi.c index 964aa17ff1..87e9bbb72e 100644 --- a/src/soc/intel/common/block/cnvi/cnvi.c +++ b/src/soc/intel/common/block/cnvi/cnvi.c @@ -162,10 +162,6 @@ static void cnvw_fill_ssdt(const struct device *dev) * } * } * - * Name (_PRR, Package (0x01) - * { - * WRST - * }) */ acpigen_write_power_res("WRST", 5, 0, NULL, 0); { @@ -280,6 +276,12 @@ static void cnvw_fill_ssdt(const struct device *dev) } acpigen_write_power_res_end(); +/* + * Name (_PRR, Package (0x01) + * { + * WRST + * }) + */ acpigen_write_name("_PRR"); { acpigen_write_package(1);