forked from luck/tmp_suning_uos_patched
mfd: Remove IRQF_DISABLED
This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
49dcd070d0
commit
f742b96e42
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user