mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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 <ravi@prevas.dk> Reviewed-by: Aniket Limaye <a-limaye@ti.com>
This commit is contained in:
committed by
Tom Rini
parent
51214ffcc5
commit
91595c96a5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user