summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627hf/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/winbond/w83627hf/superio.c')
-rw-r--r--src/superio/winbond/w83627hf/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c
index c6d2f577cc..5af2d37c45 100644
--- a/src/superio/winbond/w83627hf/superio.c
+++ b/src/superio/winbond/w83627hf/superio.c
@@ -23,9 +23,7 @@ static void enable_hwm_smbus(struct device *dev)
static void init_acpi(struct device *dev)
{
u8 value;
- int power_on = 1;
-
- get_option(&power_on, "power_on_after_fail");
+ int power_on = get_int_option("power_on_after_fail", 1);
pnp_enter_conf_mode(dev);
pnp_set_logical_device(dev);