projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c17617
)
i2c: i2c-omap: deprecate class based instantiation
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 10 Feb 2014 10:03:57 +0000
(11:03 +0100)
committer
Wolfram Sang
<wsa@the-dreams.de>
Wed, 5 Mar 2014 16:16:48 +0000
(17:16 +0100)
Warn users that class based instantiation is going away soon in favour
of more robust probing and faster bootup times.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-omap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-omap.c
b/drivers/i2c/busses/i2c-omap.c
index 90dcc2eaac5fb688fedba904b181be2312e40b3d..8e2900412b04f0b7c440cc94d2677a4e116019b6 100644
(file)
--- a/
drivers/i2c/busses/i2c-omap.c
+++ b/
drivers/i2c/busses/i2c-omap.c
@@
-1238,7
+1238,7
@@
omap_i2c_probe(struct platform_device *pdev)
adap = &dev->adapter;
i2c_set_adapdata(adap, dev);
adap->owner = THIS_MODULE;
- adap->class = I2C_CLASS_HWMON;
+ adap->class = I2C_CLASS_HWMON
| I2C_CLASS_DEPRECATED
;
strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name));
adap->algo = &omap_i2c_algo;
adap->dev.parent = &pdev->dev;
This page took
0.025468 seconds
and
5
git commands to generate.