PM / wakeup: only recommend "call"ing device_init_wakeup() once
authorBrian Norris <briannorris@chromium.org>
Mon, 18 Dec 2017 23:30:48 +0000 (15:30 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 Dec 2017 01:45:06 +0000 (02:45 +0100)
commit86ddd2db1f75a30f21a4c4de7a29249ee8c37ed8
tree032de1db029bf4dc765f8918607ef44e0a706d81
parentc51a024e3913e9dbaf4dfcb9aaba825668a89ace
PM / wakeup: only recommend "call"ing device_init_wakeup() once

I'll admit admit it: I've written bad driver code that tries to
configure a device's wake IRQ without having called device_init_wakeup()
first. But do you really have to ask ask me twice?

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeup.c