1. 27 3月, 2011 1 次提交
    • A
      mfd: Add mfd_clone_cell(), convert cs5535-mfd/olpc-xo1 to it · fa1df691
      Andres Salomon 提交于
      Replace mfd_shared_platform_driver_register with mfd_clone_cell.  The
      former was called by an mfd client, and registered both a platform driver
      and device.  The latter is called by an mfd driver, and registers only a
      platform device.
      
      The downside of this is that mfd drivers need to be modified whenever
      new clients are added that share a cell; the upside is that it fits
      Linux's driver model better.  It's also simpler.
      
      This also converts cs5535-mfd/olpc-xo1 from the old API.  cs5535-mfd
      now creates the olpc-xo1-{acpi,pms} devices, while olpc-xo1 binds to
      them via platform drivers.
      Signed-off-by: NAndres Salomon <dilinger@queued.net>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      fa1df691
  2. 23 3月, 2011 8 次提交
  3. 14 1月, 2011 1 次提交
  4. 02 11月, 2010 1 次提交
  5. 29 10月, 2010 1 次提交
  6. 17 9月, 2009 1 次提交
    • M
      mfd: Allow multiple MFD cells with the same name · 3bed6e41
      Mark Brown 提交于
      Provide basic support for MFDs having multiple cells of a given
      type with different IDs by adding an id to the mfd_cell structure
      and then adding that to the id passed in to mfd_add_devices().
      
      As it stands this approach requires that MFDs using this feature
      deal with ensuring that there aren't any ID collisions resulting
      from multiple MFDs of the same type being instantiated. This needs
      to happen with the existing code too, but with this approach there
      is a knock on effect on the IDs for non-duplicated devices.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      3bed6e41
  7. 29 7月, 2008 3 次提交
  8. 07 7月, 2008 1 次提交