Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / mc13xxx-i2c.c
index ae3addb153a2e825f260959e1a52c93cc42051ef..67e4c9aa7d18e781a0798de38190fbca83304639 100644 (file)
@@ -46,7 +46,7 @@ static const struct of_device_id mc13xxx_dt_ids[] = {
 };
 MODULE_DEVICE_TABLE(of, mc13xxx_dt_ids);
 
-static struct regmap_config mc13xxx_regmap_i2c_config = {
+static const struct regmap_config mc13xxx_regmap_i2c_config = {
        .reg_bits = 8,
        .val_bits = 24,
 
@@ -96,7 +96,6 @@ static int mc13xxx_i2c_remove(struct i2c_client *client)
 static struct i2c_driver mc13xxx_i2c_driver = {
        .id_table = mc13xxx_i2c_device_id,
        .driver = {
-               .owner = THIS_MODULE,
                .name = "mc13xxx",
                .of_match_table = mc13xxx_dt_ids,
        },