aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/pcf50633-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/pcf50633-core.c')
-rw-r--r--drivers/mfd/pcf50633-core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index bdf93c1db67..f668b9a4e2a 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -480,7 +480,6 @@ static int pcf50633_probe(struct i2c_client *client,
struct pcf50633 *pcf;
struct pcf50633_platform_data *pdata;
int i, ret = 0;
- u8 mbcs1;
int version;
int variant;
@@ -571,14 +570,6 @@ static int pcf50633_probe(struct i2c_client *client,
dev_err(pcf->dev, "IRQ %u cannot be enabled as wake-up "
"source in this hardware revision\n", client->irq);
- /* Cold Intialization */
- mbcs1 = pcf50633_reg_read(pcf, PCF50633_REG_MBCS1);
-
- if (mbcs1 & 0x01)
- pcf50633_irq_call_handler(pcf, PCF50633_IRQ_USBINS);
- if (mbcs1 & 0x04)
- pcf50633_irq_call_handler(pcf, PCF50633_IRQ_ADPINS);
-
ret = sysfs_create_group(&client->dev.kobj, &pcf_attr_group);
if (ret)
dev_err(pcf->dev, "error creating sysfs entries\n");