]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
i2c: omap24xx_i2c: remove unused members of struct omap_i2c
authorRasmus Villemoes <ravi@prevas.dk>
Fri, 15 Aug 2025 06:17:19 +0000 (08:17 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Aug 2025 15:26:45 +0000 (09:26 -0600)
The clk and clk_id members of struct omap_i2c are not used anywhere,
and AFAICT never have been.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Aniket Limaye <a-limaye@ti.com>
drivers/i2c/omap24xx_i2c.c

index a6361d3d17dbc7b3a5aeef2dc5f357a7b72ef9fa..2c6f8ea590187e676b58167d60a531bbc910d16b 100644 (file)
@@ -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)