summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8720f/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8720f/superio.c')
-rw-r--r--src/superio/ite/it8720f/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/ite/it8720f/superio.c b/src/superio/ite/it8720f/superio.c
index c395953911..0ecbddc6a2 100644
--- a/src/superio/ite/it8720f/superio.c
+++ b/src/superio/ite/it8720f/superio.c
@@ -17,11 +17,9 @@
static void power_control_init(struct device *dev)
{
- int power_on = MAINBOARD_POWER_OFF;
+ int power_on = get_int_option("power_on_after_fail", MAINBOARD_POWER_OFF);
u8 value;
- get_option(&power_on, "power_on_after_fail");
-
pnp_enter_conf_mode(dev);
pnp_set_logical_device(dev);