mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
crypto: crypto4xx - remove unnecessary (void*) conversions
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>
This commit is contained in:
parent
6faacef060
commit
6f15b1ce33
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ static void crypto4xx_bh_tasklet_cb(unsigned long data)
|
||||||
static inline irqreturn_t crypto4xx_interrupt_handler(int irq, void *data,
|
static inline irqreturn_t crypto4xx_interrupt_handler(int irq, void *data,
|
||||||
u32 clr_val)
|
u32 clr_val)
|
||||||
{
|
{
|
||||||
struct device *dev = (struct device *)data;
|
struct device *dev = data;
|
||||||
struct crypto4xx_core_device *core_dev = dev_get_drvdata(dev);
|
struct crypto4xx_core_device *core_dev = dev_get_drvdata(dev);
|
||||||
|
|
||||||
writel(clr_val, core_dev->dev->ce_base + CRYPTO4XX_INT_CLR);
|
writel(clr_val, core_dev->dev->ce_base + CRYPTO4XX_INT_CLR);
|
||||||
|
|
Loading…
Reference in a new issue