]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/platform/x86/eeepc-laptop.c
Merge tag 'pm+acpi-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[karo-tx-linux.git] / drivers / platform / x86 / eeepc-laptop.c
index 528e9495458d35f3396efeb6a3ce6e78e201bcd9..5d26e70bed6c532d51c0fb326bc97f91e1a8a020 100644 (file)
@@ -1007,7 +1007,7 @@ static int eeepc_get_fan_pwm(void)
 
 static void eeepc_set_fan_pwm(int value)
 {
-       value = SENSORS_LIMIT(value, 0, 255);
+       value = clamp_val(value, 0, 255);
        value = value * 100 / 255;
        ec_write(EEEPC_EC_FAN_PWM, value);
 }
@@ -1501,7 +1501,7 @@ fail_platform:
        return result;
 }
 
-static int eeepc_acpi_remove(struct acpi_device *device, int type)
+static int eeepc_acpi_remove(struct acpi_device *device)
 {
        struct eeepc_laptop *eeepc = acpi_driver_data(device);