summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-img-scb.c
diff options
context:
space:
mode:
authorXU pengfei <xupengfei@nfschina.com>2022-08-01 03:33:20 +0200
committerWolfram Sang <wsa@kernel.org>2023-06-08 22:19:06 +0200
commitedaac7d9fff62718d0edaa7ae99fd0be36450f32 (patch)
tree9d992f6634695b1de20ad1562b425c66b43de3d0 /drivers/i2c/busses/i2c-img-scb.c
parenti2c: qcom-cci:Use devm_platform_get_and_ioremap_resource() (diff)
downloadlinux-edaac7d9fff62718d0edaa7ae99fd0be36450f32.tar.xz
linux-edaac7d9fff62718d0edaa7ae99fd0be36450f32.zip
i2c: img-scb: remove unnecessary (void*) conversion
Signed-off-by: XU pengfei <xupengfei@nfschina.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-img-scb.c')
-rw-r--r--drivers/i2c/busses/i2c-img-scb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-img-scb.c b/drivers/i2c/busses/i2c-img-scb.c
index fea2940dbf2e..4b674cfbc6fb 100644
--- a/drivers/i2c/busses/i2c-img-scb.c
+++ b/drivers/i2c/busses/i2c-img-scb.c
@@ -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;