Merge branch 'regmap-5.1' into regmap-linus

This commit is contained in:
Mark Brown 2019-04-25 20:27:00 +01:00
commit 7fdc9fc874
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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);