Messages in this thread | | | Date | Tue, 21 Jul 2009 22:48:05 +0100 | Subject | Re: [RFC/RFT] serio - switch to using dev_pm_ops | From | Alan Jenkins <> |
| |
> drivers/input/serio/serio.c | 30 ++++++++++++++++-------------- > 1 files changed, 16 insertions(+), 14 deletions(-)
> - if (!serio->suspended && state.event == PM_EVENT_SUSPEND) > - serio_cleanup(serio); > - > - serio->suspended = state.event == PM_EVENT_SUSPEND || > - state.event == PM_EVENT_FREEZE;
> - if (serio->suspended) { > - serio->suspended = false; > - serio_queue_event(serio, NULL, SERIO_RECONNECT_PORT); > - }
It looks like you should be able to remove the suspended field of struct serio. Or is it used somewhere else?
Regards Alan
| |