aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/max8997-irq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/max8997-irq.c b/drivers/mfd/max8997-irq.c
index 638bf7e4d3b3..09274cf7c33b 100644
--- a/drivers/mfd/max8997-irq.c
+++ b/drivers/mfd/max8997-irq.c
@@ -58,8 +58,6 @@ static struct i2c_client *get_i2c(struct max8997_dev *max8997,
58 default: 58 default:
59 return ERR_PTR(-EINVAL); 59 return ERR_PTR(-EINVAL);
60 } 60 }
61
62 return ERR_PTR(-EINVAL);
63} 61}
64 62
65struct max8997_irq_data { 63struct max8997_irq_data {