Random Winbond Super I/O cosmetic and coding-style fixes.
[coreboot.git] / src / superio / winbond / w83627dhg / superio.c
index 2a58ef774f772feb326654923ad0428bd03aed7b..7ed236775958f3a8a1cd5a195cc284a31e14070f 100644 (file)
@@ -39,14 +39,12 @@ static void pnp_exit_ext_func_mode(device_t dev)
 
 static void w83627dhg_init(device_t dev)
 {
-       struct superio_winbond_w83627dhg_config *conf;
+       struct superio_winbond_w83627dhg_config *conf = dev->chip_info;
        struct resource *res0, *res1;
 
        if (!dev->enabled)
                return;
 
-       conf = dev->chip_info;
-
        switch(dev->path.pnp.device) {
        case W83627DHG_SP1:
                res0 = find_resource(dev, PNP_IDX_IO0);