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:
XU pengfei 2022-08-01 09:33:20 +08:00 committed by Wolfram Sang
parent fdbd69549b
commit edaac7d9ff

View File

@ -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;