i2c: img-scb: remove unnecessary (void*) conversion
Signed-off-by: XU pengfei <xupengfei@nfschina.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
fdbd69549b
commit
edaac7d9ff
@ -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)
|
||||
{
|
||||
struct img_i2c *i2c = (struct img_i2c *)dev_id;
|
||||
struct img_i2c *i2c = dev_id;
|
||||
u32 int_status, line_status;
|
||||
/* We handle transaction completion AFTER accessing registers */
|
||||
unsigned int hret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user