aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/core.c
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-12-13 09:51:11 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-27 04:49:10 -0500
commitdd8014830d2b1fdf5328978ada706df3ec180c21 (patch)
treebe8ff3e3804b074e811accd203a46a6639288d6e /drivers/char/hw_random/core.c
parent2a971e3b248775f808950bdc0ac75f12a2853eff (diff)
hwrng: core - Rewrite the header
checkpatch have lot of complaint about header. Furthermore, the header have some offtopic/useless information. This patch rewrite a proper header. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/core.c')
-rw-r--r--drivers/char/hw_random/core.c38
1 files changed, 9 insertions, 29 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index 3e565e12f397..6266d1589bc6 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -1,33 +1,13 @@
1/* 1/*
2 Added support for the AMD Geode LX RNG 2 * hw_random/core.c: HWRNG core API
3 (c) Copyright 2004-2005 Advanced Micro Devices, Inc. 3 *
4 4 * Copyright 2006 Michael Buesch <m@bues.ch>
5 derived from 5 * Copyright 2005 (c) MontaVista Software, Inc.
6 6 *
7 Hardware driver for the Intel/AMD/VIA Random Number Generators (RNG) 7 * Please read Documentation/hw_random.txt for details on use.
8 (c) Copyright 2003 Red Hat Inc <jgarzik@redhat.com> 8 *
9 9 * This software may be used and distributed according to the terms
10 derived from 10 * of the GNU General Public License, incorporated herein by reference.
11
12 Hardware driver for the AMD 768 Random Number Generator (RNG)
13 (c) Copyright 2001 Red Hat Inc <alan@redhat.com>
14
15 derived from
16
17 Hardware driver for Intel i810 Random Number Generator (RNG)
18 Copyright 2000,2001 Jeff Garzik <jgarzik@pobox.com>
19 Copyright 2000,2001 Philipp Rumpf <prumpf@mandrakesoft.com>
20
21 Added generic RNG API
22 Copyright 2006 Michael Buesch <m@bues.ch>
23 Copyright 2005 (c) MontaVista Software, Inc.
24
25 Please read Documentation/hw_random.txt for details on use.
26
27 ----------------------------------------------------------
28 This software may be used and distributed according to the terms
29 of the GNU General Public License, incorporated herein by reference.
30
31 */ 11 */
32 12
33#include <linux/device.h> 13#include <linux/device.h>