Skip to contentSkip to conversation

acpi: acpi_video: Fixed void function style code issues

PATCH New Clayton Casciato 1 participant 1 message Jun 12, 2021 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi: acpi_video: Fixed void function style code issues

Fixed coding style issues.

---
 drivers/acpi/acpi_video.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/acpi/acpi_video.c +0 -6
index 0c884020f74b..ffb4afc5aad9 100644
@@ -1619,8 +1619,6 @@ static void acpi_video_bus_notify(struct acpi_device *device, u32 event)
 		input_report_key(input, keycode, 0);
 		input_sync(input);
 	}
-
-	return;
 }
 
 static void brightness_switch_event(struct acpi_video_device *video_device,
@@ -1690,8 +1688,6 @@ static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data)
 		input_report_key(input, keycode, 0);
 		input_sync(input);
 	}
-
-	return;
 }
 
 static int acpi_video_resume(struct notifier_block *nb,
@@ -2308,8 +2304,6 @@ static void __exit acpi_video_exit(void)
 {
 	acpi_video_detect_exit();
 	acpi_video_unregister();
-
-	return;
 }
 
 module_init(acpi_video_init);
Signature · 1 line
2.31.1