projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdbd695
)
i2c: img-scb: remove unnecessary (void*) conversion
author
XU pengfei
<xupengfei@nfschina.com>
Mon, 1 Aug 2022 01:33:20 +0000
(09:33 +0800)
committer
Wolfram Sang
<wsa@kernel.org>
Thu, 8 Jun 2023 20:19:06 +0000
(22:19 +0200)
Signed-off-by: XU pengfei <xupengfei@nfschina.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-img-scb.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-img-scb.c
b/drivers/i2c/busses/i2c-img-scb.c
index fea2940dbf2e79d55e6eeeffc9a5c4b05c6c6605..4b674cfbc6fb53a1b846193312858bac39ab7418 100644
(file)
--- 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;