Skip to content

Commit edaac7d

Browse files
xupf1wsakernel
authored andcommitted
i2c: img-scb: remove unnecessary (void*) conversion
Signed-off-by: XU pengfei <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent fdbd695 commit edaac7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-img-scb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ static unsigned int img_i2c_auto(struct img_i2c *i2c,
913913

914914
static irqreturn_t img_i2c_isr(int irq, void *dev_id)
915915
{
916-
struct img_i2c *i2c = (struct img_i2c *)dev_id;
916+
struct img_i2c *i2c = dev_id;
917917
u32 int_status, line_status;
918918
/* We handle transaction completion AFTER accessing registers */
919919
unsigned int hret;

0 commit comments

Comments
 (0)