All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] hwrng: amd: Fix style problem with blank line
@ 2016-08-19 13:42 LABBE Corentin
  2016-08-19 13:42 ` [PATCH 2/5] hwrng: amd: use the BIT macro LABBE Corentin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: LABBE Corentin @ 2016-08-19 13:42 UTC (permalink / raw)
  To: herbert, mpm; +Cc: linux-crypto, linux-kernel, LABBE Corentin

Some blank line are unncessary, and one is missing after declaration.
This patch fix thoses style problems.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 drivers/char/hw_random/amd-rng.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c
index 48f6a83..45b7965 100644
--- a/drivers/char/hw_random/amd-rng.c
+++ b/drivers/char/hw_random/amd-rng.c
@@ -31,10 +31,8 @@
 #include <linux/delay.h>
 #include <asm/io.h>
 
-
 #define PFX	KBUILD_MODNAME ": "
 
-
 /*
  * Data for PCI driver interface
  *
@@ -52,7 +50,6 @@ MODULE_DEVICE_TABLE(pci, pci_tbl);
 
 static struct pci_dev *amd_pdev;
 
-
 static int amd_rng_data_present(struct hwrng *rng, int wait)
 {
 	u32 pmbase = (u32)rng->priv;
@@ -100,7 +97,6 @@ static void amd_rng_cleanup(struct hwrng *rng)
 	pci_write_config_byte(amd_pdev, 0x40, rnen);
 }
 
-
 static struct hwrng amd_rng = {
 	.name		= "amd",
 	.init		= amd_rng_init,
@@ -109,7 +105,6 @@ static struct hwrng amd_rng = {
 	.data_read	= amd_rng_data_read,
 };
 
-
 static int __init mod_init(void)
 {
 	int err = -ENODEV;
@@ -157,6 +152,7 @@ out:
 static void __exit mod_exit(void)
 {
 	u32 pmbase = (unsigned long)amd_rng.priv;
+
 	release_region(pmbase + 0xF0, 8);
 	hwrng_unregister(&amd_rng);
 }
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-08-25  4:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-19 13:42 [PATCH 1/5] hwrng: amd: Fix style problem with blank line LABBE Corentin
2016-08-19 13:42 ` [PATCH 2/5] hwrng: amd: use the BIT macro LABBE Corentin
2016-08-19 13:42 ` [PATCH 3/5] hwrng: amd: Be consitent with the driver name LABBE Corentin
2016-08-24 10:58   ` Herbert Xu
2016-08-24 13:51     ` LABBE Corentin
2016-08-25  4:19       ` Herbert Xu
2016-08-19 13:42 ` [PATCH 4/5] hwrng: amd: Remove asm/io.h LABBE Corentin
2016-08-19 13:42 ` [PATCH 5/5] hwrng: amd: Rework of the amd768-hwrng driver LABBE Corentin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.