Skip to content

Commit

Permalink
mfd: Remove IRQF_DISABLED
Browse files Browse the repository at this point in the history
This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
  • Loading branch information
yongzhang0 authored and Samuel Ortiz committed Oct 24, 2011
1 parent 49dcd07 commit f742b96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/mfd/da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ static int __devinit da903x_probe(struct i2c_client *client,
chip->ops->read_events(chip, &tmp);

ret = request_irq(client->irq, da903x_irq_handler,
IRQF_DISABLED | IRQF_TRIGGER_FALLING,
IRQF_TRIGGER_FALLING,
"da903x", chip);
if (ret) {
dev_err(&client->dev, "failed to request irq %d\n",
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/menelaus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ static int menelaus_probe(struct i2c_client *client,
menelaus_write_reg(MENELAUS_MCT_CTRL1, 0x73);

if (client->irq > 0) {
err = request_irq(client->irq, menelaus_irq, IRQF_DISABLED,
err = request_irq(client->irq, menelaus_irq, 0,
DRIVER_NAME, menelaus);
if (err) {
dev_dbg(&client->dev, "can't get IRQ %d, err %d\n",
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/twl6030-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ int twl6030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end)
/* install an irq handler to demultiplex the TWL6030 interrupt */
init_completion(&irq_event);

status = request_irq(irq_num, handle_twl6030_pih, IRQF_DISABLED,
status = request_irq(irq_num, handle_twl6030_pih, 0,
"TWL6030-PIH", &irq_event);
if (status < 0) {
pr_err("twl6030: could not claim irq%d: %d\n", irq_num, status);
Expand Down

0 comments on commit f742b96

Please sign in to comment.