i2c: omap24xx_i2c: remove unused members of struct omap_i2c
PATCH 1/1 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]>
--- drivers/i2c/omap24xx_i2c.c | 2 -- 1 file changed, 2 deletions(-)
drivers/i2c/omap24xx_i2c.c +0 -2
@@ -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)
Signature · 1 line
2.50.1
Quoted 5 lines · Rasmus Villemoes
The clk and
clk_idmembers of structomap_i2care not used anywhere, and AFAICT never have been.Signed-off-by Rasmus Villemoes <[email protected]>---
Looks good to me,
Reviewed-by Aniket Limaye <[email protected]>
Quoted 20 lines
drivers/i2c/omap24xx_i2c.c | 2 -- 1 file changed, 2 deletions(-)drivers/i2c/omap24xx_i2c.c +0
-2@@ -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)
Quoted 4 lines · Rasmus Villemoes
The clk and
clk_idmembers of structomap_i2care not used anywhere, and AFAICT never have been.
Applied to u-boot/next, thanks!
[1/1] i2c: omap24xx_i2c: remove unused members of struct omap_i2c
commit: 91595c96a53360dce696c2da694b1983c91d64f6
Signature · 1 line
Tom