hwrng: core - Replace asm/uaccess.h by linux/uaccess.h
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 13 Dec 2016 14:51:12 +0000 (15:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Dec 2016 09:50:33 +0000 (17:50 +0800)
This patch fix the checkpatch warning about asm/uaccess.h.
In the same time, we sort the headers in alphabetical order.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c

index 6266d15..f81fd72 100644 (file)
  * of the GNU General Public License, incorporated herein by reference.
  */
 
+#include <linux/delay.h>
 #include <linux/device.h>
+#include <linux/err.h>
+#include <linux/fs.h>
 #include <linux/hw_random.h>
-#include <linux/module.h>
 #include <linux/kernel.h>
-#include <linux/fs.h>
-#include <linux/sched.h>
-#include <linux/miscdevice.h>
 #include <linux/kthread.h>
-#include <linux/delay.h>
-#include <linux/slab.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
 #include <linux/random.h>
-#include <linux/err.h>
+#include <linux/sched.h>
+#include <linux/slab.h>
 #include <linux/uaccess.h>
 
 #define RNG_MODULE_NAME                "hw_random"