projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6faacef
)
crypto: crypto4xx - remove unnecessary (void*) conversions
author
Yu Zhe
<yuzhe@nfschina.com>
Fri, 17 Mar 2023 05:57:57 +0000
(13:57 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 24 Mar 2023 10:22:28 +0000
(18:22 +0800)
Pointer variables of void * type do not require type cast.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/amcc/crypto4xx_core.c
b/drivers/crypto/amcc/crypto4xx_core.c
index
50dc783
..
d553f3f
100644
(file)
--- a/
drivers/crypto/amcc/crypto4xx_core.c
+++ b/
drivers/crypto/amcc/crypto4xx_core.c
@@
-1101,7
+1101,7
@@
static void crypto4xx_bh_tasklet_cb(unsigned long data)
static inline irqreturn_t crypto4xx_interrupt_handler(int irq, void *data,
u32 clr_val)
{
- struct device *dev =
(struct device *)
data;
+ struct device *dev = data;
struct crypto4xx_core_device *core_dev = dev_get_drvdata(dev);
writel(clr_val, core_dev->dev->ce_base + CRYPTO4XX_INT_CLR);