ARM: OMAP2+: Cleanup omap_i2c_dev_attr usage
The omap_i2c_dev_attr data was used to supply instance-specific
data for legacy non-DT devices. The I2C legacy device support has
been cleaned up in commit 65fa3e719f
("ARM: OMAP2+: Remove legacy
i2c.c platform init code") and this data is therefore no longer
needed. So, cleanup the structure and all the associated data in
various hwmod data files.
The i2c-omap.h header is still needed because of the need for
various OMAP_I2C_IP_VERSION_x macros.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Этот коммит содержится в:

коммит произвёл
Tony Lindgren

родитель
a0e37da2a5
Коммит
5297e1d767
@@ -24,19 +24,6 @@
|
||||
#ifndef __MACH_OMAP2_I2C_H
|
||||
#define __MACH_OMAP2_I2C_H
|
||||
|
||||
/**
|
||||
* i2c_dev_attr - OMAP I2C controller device attributes for omap_hwmod
|
||||
* @fifo_depth: total controller FIFO size (in bytes)
|
||||
* @flags: differences in hardware support capability
|
||||
*
|
||||
* @fifo_depth represents what exists on the hardware, not what is
|
||||
* actually configured at runtime by the device driver.
|
||||
*/
|
||||
struct omap_i2c_dev_attr {
|
||||
u8 fifo_depth;
|
||||
u32 flags;
|
||||
};
|
||||
|
||||
int omap_i2c_reset(struct omap_hwmod *oh);
|
||||
|
||||
#endif /* __MACH_OMAP2_I2C_H */
|
||||
|
Ссылка в новой задаче
Block a user