Thread (4 messages) 4 messages, 1 author, 2011-08-04
DORMANTno replies

[PATCH 3/2] I2C: OMAP: remove unused function pointers from pdata

From: Kevin Hilman <hidden>
Date: 2011-08-04 15:10:22
Also in: linux-i2c, linux-omap
Subsystem: the rest · Maintainer: Linus Torvalds

Now that this driver is using runtime PM, there is no longer a need
for the idle/enable/shutdown function pointers in pdata.

Signed-off-by: Kevin Hilman <redacted>
---
Here's one more for the i2c-cleanup series

 include/linux/i2c-omap.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h
index 56a9924..92a0dc7 100644
--- a/include/linux/i2c-omap.h
+++ b/include/linux/i2c-omap.h
@@ -35,9 +35,6 @@ struct omap_i2c_bus_platform_data {
 	u32		rev;
 	u32		flags;
 	void		(*set_mpu_wkup_lat)(struct device *dev, long set);
-	int		(*device_enable) (struct platform_device *pdev);
-	int		(*device_shutdown) (struct platform_device *pdev);
-	int		(*device_idle) (struct platform_device *pdev);
 };
 
 #endif
-- 
1.7.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help