summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-04-25 20:27:00 +0100
committerMark Brown <broonie@kernel.org>2019-04-25 20:27:00 +0100
commit7fdc9fc87492a79b9c7f9dba2311c1fc2b2c6bd4 (patch)
tree92f42d689160b1641a9b7c62795f0dd0e11ca258 /drivers/base
parent085b7755808aa11f78ab9377257e1dad2e6fa4bb (diff)
parent8293488205f145aeefbec76f231303c8e32647a2 (diff)
downloadlinux-7fdc9fc87492a79b9c7f9dba2311c1fc2b2c6bd4.tar.bz2
Merge branch 'regmap-5.1' into regmap-linus
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/regmap-irq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c
index 5059748afd4c..02eb75646141 100644
--- a/drivers/base/regmap/regmap-irq.c
+++ b/drivers/base/regmap/regmap-irq.c
@@ -761,9 +761,6 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
if (chip->num_type_reg && !chip->type_in_mask) {
for (i = 0; i < chip->num_type_reg; ++i) {
- if (!d->type_buf_def[i])
- continue;
-
reg = chip->type_base +
(i * map->reg_stride * d->type_reg_stride);