linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] i2c: s3c2410: Remove class based instantiation
@ 2014-06-03  9:00 Sachin Kamat
  2014-06-03 10:05 ` Wolfram Sang
  0 siblings, 1 reply; 7+ messages in thread
From: Sachin Kamat @ 2014-06-03  9:00 UTC (permalink / raw)
  To: linux-i2c
  Cc: linux-samsung-soc, wsa, kgene.kim, ch.naveen, spk.linux,
	Olof Johansson

With multiplatform support enabled for Exynos, class based
instantiation causes a boot time delay due to I2C_CLASS_HWMON
triggered probe. Since class based instantiation has been
deprecated since some time now, remove it for Samsung I2C driver.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Olof Johansson <olof@lixom.net>
---
 drivers/i2c/busses/i2c-s3c2410.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index bb3a9964f7e0..6f1706cdd9ba 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -1135,7 +1135,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
 	i2c->adap.owner   = THIS_MODULE;
 	i2c->adap.algo    = &s3c24xx_i2c_algorithm;
 	i2c->adap.retries = 2;
-	i2c->adap.class   = I2C_CLASS_HWMON | I2C_CLASS_SPD | I2C_CLASS_DEPRECATED;
 	i2c->tx_setup     = 50;
 
 	init_waitqueue_head(&i2c->wait);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-03 12:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03  9:00 [PATCH 1/1] i2c: s3c2410: Remove class based instantiation Sachin Kamat
2014-06-03 10:05 ` Wolfram Sang
2014-06-03 11:21   ` Sachin Kamat
2014-06-03 11:54     ` Wolfram Sang
2014-06-03 12:03     ` Tomasz Figa
     [not found]       ` <538DB979.1030305-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-03 12:17         ` Wolfram Sang
2014-06-03 12:18           ` Tomasz Figa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).