[PATCH 2/4] ACPI: video: Fix block comment warnings
From: Jean-Ralph Aviles
Date: Sat May 09 2026 - 22:48:58 EST
Reported by checkpatch:
WARNING: Block comments use a trailing */ on a separate line
Signed-off-by: Jean-Ralph Aviles <jeanralph.aviles@xxxxxxxxx>
---
drivers/acpi/acpi_video.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c
index e8880a2113cb..fc45f0ecf7cf 100644
--- a/drivers/acpi/acpi_video.c
+++ b/drivers/acpi/acpi_video.c
@@ -126,8 +126,7 @@ struct acpi_video_device_attrib {
u32 display_type:4; /* Describe the specific type in use */
u32 vendor_specific:4; /* Chipset Vendor Specific */
u32 bios_can_detect:1; /* BIOS can detect the device */
- u32 depend_on_vga:1; /* Non-VGA output device whose power is related to
- the VGA device. */
+ u32 depend_on_vga:1; /* Non-VGA output device whose power is related to the VGA device */
u32 pipe_id:3; /* For VGA multiple-head devices. */
u32 reserved:10; /* Must be 0 */
@@ -1536,13 +1535,11 @@ static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data)
input = video->input;
switch (event) {
- case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,
- * most likely via hotkey. */
+ case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch, most likely via hotkey. */
keycode = KEY_SWITCHVIDEOMODE;
break;
- case ACPI_VIDEO_NOTIFY_PROBE: /* User plugged in or removed a video
- * connector. */
+ case ACPI_VIDEO_NOTIFY_PROBE: /* User plugged in or removed a video connector. */
acpi_video_device_enumerate(video);
acpi_video_device_rebind(video);
keycode = KEY_SWITCHVIDEOMODE;
--
2.51.2