[PATCH 00/11] cleanup pcmcia driver module boilerplate

H Hartley Sweeten hsweeten at visionengravers.com
Wed Mar 6 13:24:07 EST 2013


Introduce a new helper macro to remove the module boilerplate code
in pcmcia drivers.

Use the new macro throughout the tree where possible.

This series was originally posted on 2/6/2013. It still applies cleanly
as of next-20130306.

H Hartley Sweeten (11):
  pcmcia/ds.h: introduce helper for pcmcia_driver module boilerplate
  drivers/ata: use module_pcmcia_driver() in pcmcia drivers
  drivers/bluetooth: use module_pcmcia_driver() in pcmcia drivers
  drivers/isdn: use module_pcmcia_driver() in pcmcia drivers
  drivers/mmc: use module_pcmcia_driver() in pcmcia drivers
  drivers/net: use module_pcmcia_driver() in pcmcia drivers
  drivers/parport: use module_pcmcia_driver() in pcmcia drivers
  drivers/scsi: use module_pcmcia_driver() in pcmcia drivers
  drivers/tty: use module_pcmcia_driver() in pcmcia drivers
  drivers/usb: use module_pcmcia_driver() in pcmcia drivers
  sound/pcmcia: use module_pcmcia_driver() in pcmcia drivers

 drivers/ata/pata_pcmcia.c                  | 14 +-------------
 drivers/bluetooth/bluecard_cs.c            | 15 +--------------
 drivers/bluetooth/bt3c_cs.c                | 15 +--------------
 drivers/bluetooth/btuart_cs.c              | 15 +--------------
 drivers/bluetooth/dtl1_cs.c                | 15 +--------------
 drivers/isdn/hardware/avm/avm_cs.c         | 14 +-------------
 drivers/isdn/hisax/avma1_cs.c              | 14 +-------------
 drivers/isdn/hisax/elsa_cs.c               | 14 +-------------
 drivers/isdn/hisax/sedlbauer_cs.c          | 14 +-------------
 drivers/isdn/hisax/teles_cs.c              | 14 +-------------
 drivers/mmc/host/sdricoh_cs.c              | 20 +-------------------
 drivers/net/arcnet/com20020_cs.c           | 14 +-------------
 drivers/net/can/sja1000/ems_pcmcia.c       | 13 +------------
 drivers/net/can/sja1000/peak_pcmcia.c      | 13 +------------
 drivers/net/ethernet/3com/3c574_cs.c       | 14 +-------------
 drivers/net/ethernet/3com/3c589_cs.c       | 14 +-------------
 drivers/net/ethernet/8390/axnet_cs.c       | 14 +-------------
 drivers/net/ethernet/8390/pcnet_cs.c       | 14 +-------------
 drivers/net/ethernet/amd/nmclan_cs.c       | 14 +-------------
 drivers/net/ethernet/fujitsu/fmvj18x_cs.c  | 14 +-------------
 drivers/net/ethernet/smsc/smc91c92_cs.c    | 14 +-------------
 drivers/net/ethernet/xircom/xirc2ps_cs.c   | 16 +---------------
 drivers/net/wireless/airo_cs.c             | 14 +-------------
 drivers/net/wireless/atmel_cs.c            | 14 +-------------
 drivers/net/wireless/b43/pcmcia.c          |  4 ++++
 drivers/net/wireless/hostap/hostap_cs.c    | 15 +--------------
 drivers/net/wireless/libertas/if_cs.c      | 25 +------------------------
 drivers/net/wireless/orinoco/orinoco_cs.c  | 16 +---------------
 drivers/net/wireless/orinoco/spectrum_cs.c | 16 +---------------
 drivers/net/wireless/wl3501_cs.c           | 14 +-------------
 drivers/parport/parport_cs.c               | 14 +-------------
 drivers/scsi/pcmcia/aha152x_stub.c         | 14 +-------------
 drivers/scsi/pcmcia/fdomain_stub.c         | 14 +-------------
 drivers/scsi/pcmcia/nsp_cs.c               | 17 +----------------
 drivers/scsi/pcmcia/qlogic_stub.c          | 13 +------------
 drivers/scsi/pcmcia/sym53c500_cs.c         | 16 +---------------
 drivers/tty/serial/8250/serial_cs.c        | 14 +-------------
 drivers/usb/host/sl811_cs.c                | 15 +--------------
 include/pcmcia/ds.h                        | 12 ++++++++++++
 sound/pcmcia/pdaudiocf/pdaudiocf.c         | 15 +--------------
 sound/pcmcia/vx/vxpocket.c                 | 14 +-------------
 41 files changed, 55 insertions(+), 539 deletions(-)

-- 
1.8.1.4




More information about the linux-pcmcia mailing list