Commit edaac7d9 authored by XU pengfei's avatar XU pengfei Committed by Wolfram Sang

i2c: img-scb: remove unnecessary (void*) conversion

Signed-off-by: default avatarXU pengfei <xupengfei@nfschina.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent fdbd6954
...@@ -913,7 +913,7 @@ static unsigned int img_i2c_auto(struct img_i2c *i2c, ...@@ -913,7 +913,7 @@ static unsigned int img_i2c_auto(struct img_i2c *i2c,
static irqreturn_t img_i2c_isr(int irq, void *dev_id) static irqreturn_t img_i2c_isr(int irq, void *dev_id)
{ {
struct img_i2c *i2c = (struct img_i2c *)dev_id; struct img_i2c *i2c = dev_id;
u32 int_status, line_status; u32 int_status, line_status;
/* We handle transaction completion AFTER accessing registers */ /* We handle transaction completion AFTER accessing registers */
unsigned int hret; unsigned int hret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment