]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/acpi/fan.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[karo-tx-linux.git] / drivers / acpi / fan.c
index e007c4987beaa047833f8a71988f3dd7263de813..caf9b76b7ef83f08bca8d7ba1aac487224d68143 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/types.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/thermal.h>
 #include <linux/acpi.h>
 #include <linux/platform_device.h>
@@ -221,8 +221,9 @@ static const struct thermal_cooling_device_ops fan_cooling_ops = {
 };
 
 /* --------------------------------------------------------------------------
-                                 Driver Interface
-   -------------------------------------------------------------------------- */
+ *                               Driver Interface
+ * --------------------------------------------------------------------------
+*/
 
 static bool acpi_fan_is_acpi4(struct acpi_device *device)
 {
@@ -359,15 +360,13 @@ static int acpi_fan_probe(struct platform_device *pdev)
                                   &cdev->device.kobj,
                                   "thermal_cooling");
        if (result)
-               dev_err(&pdev->dev, "Failed to create sysfs link "
-                       "'thermal_cooling'\n");
+               dev_err(&pdev->dev, "Failed to create sysfs link 'thermal_cooling'\n");
 
        result = sysfs_create_link(&cdev->device.kobj,
                                   &pdev->dev.kobj,
                                   "device");
        if (result)
-               dev_err(&pdev->dev, "Failed to create sysfs link "
-                       "'device'\n");
+               dev_err(&pdev->dev, "Failed to create sysfs link 'device'\n");
 
 end:
        return result;