pcmcia: split up modify_configuration() into two fixup functions
pcmcia_modify_configuration() was only used by two drivers to fix up one issue each: setting the Vpp to a different value, and reducing the IO width to 8 bit. Introduce two explicitly named functions handling these things, and remove one further typedef. CC: netdev@vger.kernel.org CC: linux-mtd@lists.infradead.org Tested-by:Wolfram Sang <w.sang@pengutronix.de> Signed-off-by:
Dominik Brodowski <linux@dominikbrodowski.net>
Showing
- drivers/mtd/maps/pcmciamtd.c 1 addition, 7 deletionsdrivers/mtd/maps/pcmciamtd.c
- drivers/net/pcmcia/smc91c92_cs.c 1 addition, 4 deletionsdrivers/net/pcmcia/smc91c92_cs.c
- drivers/pcmcia/pcmcia_resource.c 63 additions, 65 deletionsdrivers/pcmcia/pcmcia_resource.c
- include/pcmcia/cs.h 0 additions, 13 deletionsinclude/pcmcia/cs.h
- include/pcmcia/ds.h 3 additions, 1 deletioninclude/pcmcia/ds.h
Please register or sign in to comment