summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71889/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/fintek/f71889/superio.c')
-rw-r--r--src/superio/fintek/f71889/superio.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/superio/fintek/f71889/superio.c b/src/superio/fintek/f71889/superio.c
index 5017505db4..8de8ae82e3 100644
--- a/src/superio/fintek/f71889/superio.c
+++ b/src/superio/fintek/f71889/superio.c
@@ -53,21 +53,6 @@ static void f71889_init(device_t dev)
}
}
-static void f71889_pnp_set_resources(device_t dev)
-{
- pnp_set_resources(dev);
-}
-
-static void f71889_pnp_enable_resources(device_t dev)
-{
- pnp_enable_resources(dev);
-}
-
-static void f71889_pnp_enable(device_t dev)
-{
- pnp_alt_enable(dev);
-}
-
static const struct pnp_mode_ops pnp_conf_mode_ops = {
.enter_conf_mode = pnp_enter_conf_state,
.exit_conf_mode = pnp_exit_conf_state,
@@ -75,9 +60,9 @@ static const struct pnp_mode_ops pnp_conf_mode_ops = {
static struct device_operations ops = {
.read_resources = pnp_read_resources,
- .set_resources = f71889_pnp_set_resources,
- .enable_resources = f71889_pnp_enable_resources,
- .enable = f71889_pnp_enable,
+ .set_resources = pnp_set_resources,
+ .enable_resources = pnp_enable_resources,
+ .enable = pnp_alt_enable,
.init = f71889_init,
.ops_pnp_mode = &pnp_conf_mode_ops,
};