summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/toshiba_haps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/toshiba_haps.c')
-rw-r--r--drivers/platform/x86/toshiba_haps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c
index 49e84095bb01..8c9f76286b08 100644
--- a/drivers/platform/x86/toshiba_haps.c
+++ b/drivers/platform/x86/toshiba_haps.c
@@ -138,14 +138,12 @@ static void toshiba_haps_notify(struct acpi_device *device, u32 event)
event, 0);
}
-static int toshiba_haps_remove(struct acpi_device *device)
+static void toshiba_haps_remove(struct acpi_device *device)
{
sysfs_remove_group(&device->dev.kobj, &haps_attr_group);
if (toshiba_haps)
toshiba_haps = NULL;
-
- return 0;
}
/* Helper function */