Message ID | 51C1F6BF.4030200@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi, > Sorry, for delayed reply - I've had problems with my e-mail. You still have. This message has unwanted linebreaks. > I've tested this patch on our TI K3.4 product kernel with additional > change below: Thanks. > [ 0.662567] (null): This adapter will soon drop class based > instantiation of slaves > ^^^^^ invalid adapter device name here Good point, thanks! Will send an updated patch in a minute. > In addition, I've found the following users of *i2c-gpio* (just FYI): Ehrm, okay, and why exactly did you post it? :) Regards, Wolfram
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c index c0330a4..442101d 100644 --- a/drivers/i2c/busses/i2c-gpio.c +++ b/drivers/i2c/busses/i2c-gpio.c @@ -186,7 +186,7 @@ static int __devinit i2c_gpio_probe(struct platform_device *pdev) adap->owner = THIS_MODULE; snprintf(adap->name, sizeof(adap->name), "i2c-gpio%d", pdev->id); adap->algo_data = bit_data; - adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; + adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD | I2C_CLASS_DEPRECATED; adap->dev.parent = &pdev->dev;