#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>
};
/* --------------------------------------------------------------------------
- Driver Interface
- -------------------------------------------------------------------------- */
+ * Driver Interface
+ * --------------------------------------------------------------------------
+*/
static bool acpi_fan_is_acpi4(struct acpi_device *device)
{
&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;