summaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-03-12 08:11:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-13 08:32:28 +0100
commite693622467bf16f39afd792ee1e78ea9e2fed26f (patch)
tree7005e2dff155473fb47e5be50de248c23f3deefc /crypto/digest.c
parentac2407db7a25ba81852919c34de56db792e77fca (diff)
downloadbarebox-e693622467bf16f39afd792ee1e78ea9e2fed26f.tar.gz
barebox-e693622467bf16f39afd792ee1e78ea9e2fed26f.tar.xz
crypto: digest: Fix coding style
When declaring pointer data or a function that returns a pointer type, the preferred use of '*' is adjacent to the data name or function name and not adjacent to the type name. Fix the remaining occurences in crypto/ Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 922d9d05f8..c06089db5a 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -28,7 +28,7 @@
static LIST_HEAD(digests);
-static struct digest_algo* digest_algo_get_by_name(const char *name);
+static struct digest_algo *digest_algo_get_by_name(const char *name);
static int dummy_init(struct digest *d)
{
@@ -71,7 +71,7 @@ EXPORT_SYMBOL(digest_algo_unregister);
static struct digest_algo *digest_algo_get_by_name(const char *name)
{
- struct digest_algo* d;
+ struct digest_algo *d;
if (!name)
return NULL;
@@ -86,8 +86,8 @@ static struct digest_algo *digest_algo_get_by_name(const char *name)
struct digest *digest_alloc(const char *name)
{
- struct digest* d;
- struct digest_algo* algo;
+ struct digest *d;
+ struct digest_algo *algo;
algo = digest_algo_get_by_name(name);
if (!algo)