Skip to content

Commit 6b88dac

Browse files
Jiri Slaby (SUSE)Wolfram Sang
authored andcommitted
irqdomain: i2c: Switch to irq_find_mapping()
irq_linear_revmap() is deprecated, so remove all its uses and supersede them by an identical call to irq_find_mapping(). Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Cc: Peter Rosin <[email protected]> Cc: [email protected] Signed-off-by: Wolfram Sang <[email protected]>
1 parent e55eb69 commit 6b88dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/muxes/i2c-mux-pca954x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ static irqreturn_t pca954x_irq_handler(int irq, void *dev_id)
414414

415415
pending = (ret >> PCA954X_IRQ_OFFSET) & (BIT(data->chip->nchans) - 1);
416416
for_each_set_bit(i, &pending, data->chip->nchans)
417-
handle_nested_irq(irq_linear_revmap(data->irq, i));
417+
handle_nested_irq(irq_find_mapping(data->irq, i));
418418

419419
return IRQ_RETVAL(pending);
420420
}

0 commit comments

Comments
 (0)