aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-02-10 05:04:06 -0500
committerWolfram Sang <wsa@the-dreams.de>2014-03-05 11:17:15 -0500
commit96c4b6bb5ddb03881dfc1c91410548432138d4ba (patch)
tree890c0879269c736ae05b7f88e9e36e79f884526f /drivers/i2c
parent02c2a28231a30ec7e7d1edf4d8da141554b7d8ad (diff)
i2c: i2c-rcar: deprecate class based instantiation
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-rcar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c
index cc60bc6c1b46..d4fa8eba6e9d 100644
--- a/drivers/i2c/busses/i2c-rcar.c
+++ b/drivers/i2c/busses/i2c-rcar.c
@@ -692,7 +692,7 @@ static int rcar_i2c_probe(struct platform_device *pdev)
692 adap = &priv->adap; 692 adap = &priv->adap;
693 adap->nr = pdev->id; 693 adap->nr = pdev->id;
694 adap->algo = &rcar_i2c_algo; 694 adap->algo = &rcar_i2c_algo;
695 adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; 695 adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD | I2C_CLASS_DEPRECATED;
696 adap->retries = 3; 696 adap->retries = 3;
697 adap->dev.parent = dev; 697 adap->dev.parent = dev;
698 adap->dev.of_node = dev->of_node; 698 adap->dev.of_node = dev->of_node;