Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96c4b6bb authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 02c2a282
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -692,7 +692,7 @@ static int rcar_i2c_probe(struct platform_device *pdev)
	adap			= &priv->adap;
	adap->nr		= pdev->id;
	adap->algo		= &rcar_i2c_algo;
	adap->class		= I2C_CLASS_HWMON | I2C_CLASS_SPD;
	adap->class		= I2C_CLASS_HWMON | I2C_CLASS_SPD | I2C_CLASS_DEPRECATED;
	adap->retries		= 3;
	adap->dev.parent	= dev;
	adap->dev.of_node	= dev->of_node;