pmaports/device/testing/linux-samsung-i9003/02_mfd_driver_fix.patch

14 lines
430 B
Diff
Raw Normal View History

2017-10-14 16:20:48 +00:00
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index 7df976d..1937e6c 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -1352,8 +1352,6 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
twl4030_power_sr_init();
twl4030_power_init(pdata->power);
}
- if (twl_class_is_6030())
- twl6030_power_init(pdata->power);
}
/* Maybe init the T2 Interrupt subsystem */