power: Remove param to power_common_state
power: Remove param to power_common_state

Instead of passing the static var state to power_common_state(), just
use the static var directly.  This should make no change in the live
code, but will allow tests to call power_set_state() while the
chipset_task is blocked waiting for events.

BRANCH=None
BUG=b:236074354
TEST=CQ

Signed-off-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@google.com>
Change-Id: I3a59f1e3008bf23a88d2b07d26c2ebd9720588a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3936945
Commit-Queue: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Commit-Queue: Diana Z <cb2016afc7183e5356c690dc63b4ba817470501a@chromium.org>
Tested-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Auto-Submit: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Reviewed-by: Diana Z <cb2016afc7183e5356c690dc63b4ba817470501a@chromium.org>
Code-Coverage: Zoss <345cf107e82c70959d46f59d98bddc98ce458aff@prod.google.com>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec