obj-$(CONFIG_I2C_MESON) += i2c-meson.o
--- /dev/null
+++ b/drivers/i2c/busses/i2c-lantiq.c
-@@ -0,0 +1,742 @@
+@@ -0,0 +1,741 @@
+
+/*
+ * Lantiq I2C bus adapter
+ adap = &priv->adap;
+ i2c_set_adapdata(adap, priv);
+ adap->owner = THIS_MODULE;
-+ adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
-+ strlcpy(adap->name, DRV_NAME "-adapter", sizeof(adap->name));
++ adap->class = I2C_CLASS_HWMON;
++ strscpy(adap->name, DRV_NAME "-adapter", sizeof(adap->name));
+ adap->algo = <q_i2c_algorithm;
+ adap->dev.parent = &pdev->dev;
+ adap->dev.of_node = pdev->dev.of_node;
+ return ret;
+}
+
-+static int ltq_i2c_remove(struct platform_device *pdev)
++static void ltq_i2c_remove(struct platform_device *pdev)
+{
+ struct ltq_i2c *priv = platform_get_drvdata(pdev);
+
+
+ dev_dbg(&pdev->dev, "removed\n");
+ platform_set_drvdata(pdev, NULL);
-+
-+ return 0;
+}
++
+static const struct of_device_id ltq_i2c_match[] = {
+ { .compatible = "lantiq,lantiq-i2c" },
+ {},