summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/rst.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel/rst.c')
-rw-r--r--drivers/platform/x86/intel/rst.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/platform/x86/intel/rst.c b/drivers/platform/x86/intel/rst.c
index 3b81cb896fed..35814a7707af 100644
--- a/drivers/platform/x86/intel/rst.c
+++ b/drivers/platform/x86/intel/rst.c
@@ -113,12 +113,10 @@ static int irst_add(struct acpi_device *acpi)
return error;
}
-static int irst_remove(struct acpi_device *acpi)
+static void irst_remove(struct acpi_device *acpi)
{
device_remove_file(&acpi->dev, &irst_wakeup_attr);
device_remove_file(&acpi->dev, &irst_timeout_attr);
-
- return 0;
}
static const struct acpi_device_id irst_ids[] = {