summaryrefslogtreecommitdiff
path: root/drivers/ptp/ptp_vmw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ptp/ptp_vmw.c')
-rw-r--r--drivers/ptp/ptp_vmw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ptp/ptp_vmw.c b/drivers/ptp/ptp_vmw.c
index 5dca26e14bdc..0dcbabd1533d 100644
--- a/drivers/ptp/ptp_vmw.c
+++ b/drivers/ptp/ptp_vmw.c
@@ -101,10 +101,9 @@ static int ptp_vmw_acpi_add(struct acpi_device *device)
return 0;
}
-static int ptp_vmw_acpi_remove(struct acpi_device *device)
+static void ptp_vmw_acpi_remove(struct acpi_device *device)
{
ptp_clock_unregister(ptp_vmw_clock);
- return 0;
}
static const struct acpi_device_id ptp_vmw_acpi_device_ids[] = {