aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-07-10 07:46:30 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-07-16 17:00:03 -0400
commitcfac71d9952028dbf0f90b9ddc8edee4e4dd575f (patch)
tree63094f839c73b7461a552cd60fa941c4cde421f1 /drivers/i2c
parent1ce97e07c0abab80a6d99bf9645135e58c3ff5af (diff)
i2c: i2c-omap: Drop class based scanning to improve bootup time
This driver has been flagged to drop class based instantiation. The removal improves boot-up time and is unneeded for embedded controllers. Users have been warned to switch for some time now, so we can actually do the removal. Keep the DEPRECATED flag, so the core can inform users that the behaviour finally changed now. After another transition period, this flag can go, too. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index b182793a4051..0dffb0e62c3b 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1236,7 +1236,7 @@ omap_i2c_probe(struct platform_device *pdev)
1236 adap = &dev->adapter; 1236 adap = &dev->adapter;
1237 i2c_set_adapdata(adap, dev); 1237 i2c_set_adapdata(adap, dev);
1238 adap->owner = THIS_MODULE; 1238 adap->owner = THIS_MODULE;
1239 adap->class = I2C_CLASS_HWMON | I2C_CLASS_DEPRECATED; 1239 adap->class = I2C_CLASS_DEPRECATED;
1240 strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name)); 1240 strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name));
1241 adap->algo = &omap_i2c_algo; 1241 adap->algo = &omap_i2c_algo;
1242 adap->dev.parent = &pdev->dev; 1242 adap->dev.parent = &pdev->dev;