aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel_oaktrail.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel_oaktrail.c')
-rw-r--r--drivers/platform/x86/intel_oaktrail.c32
1 files changed, 9 insertions, 23 deletions
diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c
index 5747f63c8d9f..3c0438ba385e 100644
--- a/drivers/platform/x86/intel_oaktrail.c
+++ b/drivers/platform/x86/intel_oaktrail.c
@@ -1,5 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0+
1/* 2/*
2 * intel_oaktrail.c - Intel OakTrail Platform support. 3 * Intel OakTrail Platform support
3 * 4 *
4 * Copyright (C) 2010-2011 Intel Corporation 5 * Copyright (C) 2010-2011 Intel Corporation
5 * Author: Yin Kangkai (kangkai.yin@intel.com) 6 * Author: Yin Kangkai (kangkai.yin@intel.com)
@@ -8,21 +9,6 @@
8 * <cezary.jackiewicz (at) gmail.com>, based on MSI driver 9 * <cezary.jackiewicz (at) gmail.com>, based on MSI driver
9 * Copyright (C) 2006 Lennart Poettering <mzxreary (at) 0pointer (dot) de> 10 * Copyright (C) 2006 Lennart Poettering <mzxreary (at) 0pointer (dot) de>
10 * 11 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 * 02110-1301, USA.
25 *
26 * This driver does below things: 12 * This driver does below things:
27 * 1. registers itself in the Linux backlight control in 13 * 1. registers itself in the Linux backlight control in
28 * /sys/class/backlight/intel_oaktrail/ 14 * /sys/class/backlight/intel_oaktrail/
@@ -38,18 +24,18 @@
38 24
39#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 25#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
40 26
41#include <linux/module.h>
42#include <linux/kernel.h>
43#include <linux/init.h>
44#include <linux/acpi.h> 27#include <linux/acpi.h>
45#include <linux/fb.h> 28#include <linux/backlight.h>
46#include <linux/mutex.h> 29#include <linux/dmi.h>
47#include <linux/err.h> 30#include <linux/err.h>
31#include <linux/fb.h>
48#include <linux/i2c.h> 32#include <linux/i2c.h>
49#include <linux/backlight.h> 33#include <linux/kernel.h>
34#include <linux/module.h>
35#include <linux/mutex.h>
50#include <linux/platform_device.h> 36#include <linux/platform_device.h>
51#include <linux/dmi.h>
52#include <linux/rfkill.h> 37#include <linux/rfkill.h>
38
53#include <acpi/video.h> 39#include <acpi/video.h>
54 40
55#define DRIVER_NAME "intel_oaktrail" 41#define DRIVER_NAME "intel_oaktrail"