PM: wakeirq: Set IRQF_NO_AUTOEN when requesting the IRQ
authorTian Tao <tiantao6@hisilicon.com>
Thu, 20 May 2021 07:34:58 +0000 (15:34 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 May 2021 14:06:17 +0000 (16:06 +0200)
commit558642bccede3d0e6ffebe4106b0719e29b9e4a8
tree3c18e88cb2051f5ee2c9dae0585853be7d9e1e34
parentc4681547bcce777daf576925a966ffa824edd09d
PM: wakeirq: Set IRQF_NO_AUTOEN when requesting the IRQ

request_irq() after setting IRQ_NOAUTOEN as below
irq_set_status_flags(irq, IRQ_NOAUTOEN);
request_irq(dev, irq...);
can be replaced by request_irq() with IRQF_NO_AUTOEN flag.

This change is just to simplify the code, no actual functional
changes.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeirq.c