Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1466449
| From | LABBE Corentin <clabbe.montjoie@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/5] hwrng: amd: Remove asm/io.h |
| Date | 2016-08-19 16:00 +0200 |
| Message-ID | <s7SuZ-6kb-31@gated-at.bofh.it> (permalink) |
| References | <s7SuZ-6kb-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/char/hw_random/amd-rng.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c index d0a806a..9ddc99c 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" -- 2.7.3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/5] hwrng: amd: Fix style problem with blank line LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-19 16:00 +0200
[PATCH 2/5] hwrng: amd: use the BIT macro LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-19 16:00 +0200
[PATCH 3/5] hwrng: amd: Be consitent with the driver name LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-19 16:00 +0200
Re: [PATCH 3/5] hwrng: amd: Be consitent with the driver name Herbert Xu <herbert@gondor.apana.org.au> - 2016-08-24 13:00 +0200
Re: [PATCH 3/5] hwrng: amd: Be consitent with the driver name LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-24 16:00 +0200
Re: [PATCH 3/5] hwrng: amd: Be consitent with the driver name Herbert Xu <herbert@gondor.apana.org.au> - 2016-08-25 07:10 +0200
[PATCH 4/5] hwrng: amd: Remove asm/io.h LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-19 16:00 +0200
[PATCH 5/5] hwrng: amd: Rework of the amd768-hwrng driver LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-19 16:00 +0200
csiph-web