Skip to content

Commit affdec5

Browse files
montjoieherbertx
authored andcommitted
hwrng: core - Replace asm/uaccess.h by linux/uaccess.h
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>
1 parent dd80148 commit affdec5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎drivers/char/hw_random/core.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
* of the GNU General Public License, incorporated herein by reference.
1111
*/
1212

13+
#include <linux/delay.h>
1314
#include <linux/device.h>
15+
#include <linux/err.h>
16+
#include <linux/fs.h>
1417
#include <linux/hw_random.h>
15-
#include <linux/module.h>
1618
#include <linux/kernel.h>
17-
#include <linux/fs.h>
18-
#include <linux/sched.h>
19-
#include <linux/miscdevice.h>
2019
#include <linux/kthread.h>
21-
#include <linux/delay.h>
22-
#include <linux/slab.h>
20+
#include <linux/miscdevice.h>
21+
#include <linux/module.h>
2322
#include <linux/random.h>
24-
#include <linux/err.h>
23+
#include <linux/sched.h>
24+
#include <linux/slab.h>
2525
#include <linux/uaccess.h>
2626

2727
#define RNG_MODULE_NAME "hw_random"

0 commit comments

Comments
 (0)