summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-08-26 13:11:32 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-31 17:00:44 +0200
commit055ae890388ad2b02a53d5c3e1f60f976989e34e (patch)
tree5af3f9603d73a2b8ee00f271b3b3958cf8b602bd /drivers/char
parenthwrng: amd - Be consitent with the driver name (diff)
downloadlinux-055ae890388ad2b02a53d5c3e1f60f976989e34e.tar.xz
linux-055ae890388ad2b02a53d5c3e1f60f976989e34e.zip
hwrng: amd - Remove asm/io.h
checkpatch complains about <asm/io.h> used instead of linux/io.h. In fact it is not needed. This patch remove it, and in the process, alphabetize the other headers. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/amd-rng.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c
index 93157afa51eb..de82fe3643a5 100644
--- a/drivers/char/hw_random/amd-rng.c
+++ b/drivers/char/hw_random/amd-rng.c
@@ -24,12 +24,11 @@
* warranty of any kind, whether express or implied.
*/
-#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/hw_random.h>
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/pci.h>
-#include <linux/hw_random.h>
-#include <linux/delay.h>
-#include <asm/io.h>
#define DRV_NAME "AMD768-HWRNG"