]> Git Repo - linux.git/blobdiff - drivers/platform/x86/intel/rst.c
regmap: mmio: Allow passing an empty config->reg_stride
[linux.git] / drivers / platform / x86 / intel / rst.c
index 3b81cb896fedff37c231ed62de5c9d859a2df3ac..35814a7707af79fa12ecb39a226fe3f95cf44171 100644 (file)
@@ -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[] = {
This page took 0.047942 seconds and 4 git commands to generate.