PC87384: remove unused init function
authorSven Schnelle <svens@stackframe.org>
Wed, 20 Apr 2011 09:05:37 +0000 (09:05 +0000)
committerSven Schnelle <svens@stackframe.org>
Wed, 20 Apr 2011 09:05:37 +0000 (09:05 +0000)
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6529 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/superio/nsc/pc87384/superio.c

index b6ac07c7fd58d6a3881751df4c0aea2a8e38dca0..11ddc822aa77b28f23f5be1b8736cc1d5ddc1ed4 100644 (file)
 #include "chip.h"
 #include "pc87384.h"
 
-static void init(device_t dev)
-{
-       struct superio_nsc_pc87384_config *conf = dev->chip_info;
-
-       if (!dev->enabled)
-               return;
-
-       switch(dev->path.pnp.device) {
-       case PC87384_GPIO:
-               break;
-       }
-}
-
 static struct device_operations ops = {
        .read_resources   = pnp_read_resources,
        .set_resources    = pnp_set_resources,
        .enable_resources = pnp_enable_resources,
        .enable           = pnp_enable,
-       .init             = init,
 };
 
 static struct pnp_info pnp_dev_info[] = {