mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs
[linux-2.6-block.git] / drivers / mfd / twl6040.c
index c5265c1262c50c3496f9142c07704d78d799a1b0..a151ee2eed2a4dfa450bade9d35f0a953c730d42 100644 (file)
@@ -86,7 +86,7 @@ static const struct reg_default twl6040_defaults[] = {
        { 0x2E, 0x00 }, /* REG_STATUS   (ro) */
 };
 
-static struct reg_default twl6040_patch[] = {
+static struct reg_sequence twl6040_patch[] = {
        /*
         * Select I2C bus access to dual access registers
         * Interrupt register is cleared on read
@@ -801,7 +801,6 @@ MODULE_DEVICE_TABLE(i2c, twl6040_i2c_id);
 static struct i2c_driver twl6040_driver = {
        .driver = {
                .name = "twl6040",
-               .owner = THIS_MODULE,
        },
        .probe          = twl6040_probe,
        .remove         = twl6040_remove,