ACPI / EC: Cleanup transaction state transition.
authorLv Zheng <lv.zheng@intel.com>
Thu, 11 Jun 2015 05:21:23 +0000 (13:21 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 12:35:58 +0000 (14:35 +0200)
commitf8b8eb71533338654f39211a87efeca35055566b
treeaea22cd59255de99ac61e977649681e556e4fb17
parent3174abcfea6a05aa25038156d6722b6c8876fb36
ACPI / EC: Cleanup transaction state transition.

This patch collects transaction state transition code into one function. We
then could have a single function to maintain transaction transition
related behaviors. No functional changes.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Tested-by: Tigran Gabrielyan <tigrangab@gmail.com>
Tested-by: Adrien D <ghbdtn@openmailbox.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c