summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2025-08-15 08:17:19 +0200
committerTom Rini <[email protected]>2025-08-22 09:26:45 -0600
commit91595c96a53360dce696c2da694b1983c91d64f6 (patch)
treeb2748f627b6945a913173212caf65711b02c9f1d /drivers/i2c
parent51214ffcc543dde83ad687c35cb2de61a34e0602 (diff)
i2c: omap24xx_i2c: remove unused members of struct omap_i2c
The clk and clk_id members of struct omap_i2c are not used anywhere, and AFAICT never have been. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Aniket Limaye <[email protected]>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/omap24xx_i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
index a6361d3d17d..2c6f8ea5901 100644
--- a/drivers/i2c/omap24xx_i2c.c
+++ b/drivers/i2c/omap24xx_i2c.c
@@ -134,12 +134,10 @@ static const u8 __maybe_unused reg_map_ip_v2[] = {
};
struct omap_i2c {
- struct udevice *clk;
int ip_rev;
struct i2c *regs;
unsigned int speed;
int waitdelay;
- int clk_id;
};
static inline const u8 *omap_i2c_get_ip_reg_map(int ip_rev)