1. 01 5月, 2012 1 次提交
    • A
      mfd: Use module_pci_driver · 38a36f5a
      Axel Lin 提交于
      This patch converts the drivers in drivers/mfd/* to use module_pci_driver()
      macro which makes the code smaller and a bit simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: Andres Salomon <dilinger@queued.net>
      Cc: Ira W. Snyder <iws@ovro.caltech.edu>
      Cc: Florian Fainelli <florian@openwrt.org>
      Cc: Denis Turischev <denis@compulab.co.il>
      Cc: Harald Welte <HaraldWelte@viatech.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      38a36f5a
  2. 09 1月, 2012 2 次提交
    • A
      mfd: Convert to DEFINE_PCI_DEVICE_TABLE · 61485c63
      Axel Lin 提交于
      Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
      tables.
      
      Cc: Andres Salomon <dilinger@queued.net>
      Cc: Denis Turischev <denis@compulab.co.il>
      Cc: Ben Dooks <ben@simtec.co.uk>
      Cc: Vincent Sanders <vince@simtec.co.uk>
      Cc: Mocean Laboratories <info@mocean-labs.com>
      Cc: Harald Welte <HaraldWelte@viatech.com>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      61485c63
    • C
      mfd: Fix cs5535 section mismatch · 97e43c98
      Christian Gmeiner 提交于
      Silence following warnings:
      WARNING: drivers/mfd/cs5535-mfd.o(.data+0x20): Section mismatch in
      reference from the variable cs5535_mfd_drv to the function
      .devinit.text:cs5535_mfd_probe()
      The variable cs5535_mfd_drv references
      the function __devinit cs5535_mfd_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      
      WARNING: drivers/mfd/cs5535-mfd.o(.data+0x28): Section mismatch in
      reference from the variable cs5535_mfd_drv to the function
      .devexit.text:cs5535_mfd_remove()
      The variable cs5535_mfd_drv references
      the function __devexit cs5535_mfd_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      
      Rename the variable from *_drv to *_driver so
      modpost ignore the OK references to __devinit/__devexit
      functions.
      Signed-off-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
      Acked-by: NAndres Salomon <dilinger@queued.net>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      97e43c98
  3. 27 3月, 2011 2 次提交
  4. 23 3月, 2011 1 次提交
    • A
      mfd: Add sharing for cs5535 acpi/pms cells · 1310e6d6
      Andres Salomon 提交于
      This enables sharing of cs5535-mfd cells via the new mfd_shared_* API.
      Hooks for enable/disble of resources are added, with refcounting of
      resources being automatically handled so that cs5535_mfd_res_enable/disable
      are only called when necessary.
      
      Clients of cs5535-mfd (in this case, olpc-xo1.c) are also modified to
      use the mfd_shared API.  The platform drivers are also renamed to
      olpc-xo1-{pms,acpi}, and resource enabling/disabling is replaced
      with mfd_shared API calls.
      Signed-off-by: NAndres Salomon <dilinger@queued.net>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      1310e6d6
  5. 14 1月, 2011 2 次提交