Skip to content

Commit

Permalink
platform/x86: intel_scu_ipc: Sort headers alphabetically
Browse files Browse the repository at this point in the history
Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <[email protected]>
  • Loading branch information
andy-shev committed Sep 27, 2018
1 parent bd7c586 commit 2d0554e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
8 changes: 5 additions & 3 deletions drivers/platform/x86/intel_scu_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
* IPC-1 Driver provides an API for power control unit registers (e.g. MSIC)
* along with other APIs.
*/

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/pm.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/pm.h>
#include <linux/sfi.h>

#include <asm/intel-mid.h>
#include <asm/intel_scu_ipc.h>

Expand Down
12 changes: 6 additions & 6 deletions drivers/platform/x86/intel_scu_ipcutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
* This driver provides ioctl interfaces to call intel scu ipc driver api
*/

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/fcntl.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/uaccess.h>

#include <asm/intel_scu_ipc.h>

static int major;
Expand Down

0 comments on commit 2d0554e

Please sign in to comment.