09 Jan, 2012

3 commits


24 Oct, 2011

6 commits


27 May, 2011

1 commit

  • With the addition of a platform device mfd_cell pointer, MFD drivers
    can go back to passing platform data back to their sub drivers.
    This allows for an mfd_cell->mfd_data removal and thus keep the
    sub drivers MFD agnostic. This is mostly needed for non MFD aware
    sub drivers.

    Cc: Mark Brown
    Cc: Liam Girdwood
    Acked-by: Uwe Kleine-König
    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     

23 Mar, 2011

3 commits

  • The device table is required to load modules based on modaliases.
    After adding the MODULE_DEVICE_TABLE, below entries will be added to
    modules.alias:
    alias spi:mc13892 mc13xxx_core
    alias spi:mc13783 mc13xxx_core

    Signed-off-by: Axel Lin
    Acked-by: Uwe Kleine-König
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • Rename the platform_data variable to imply a distinction between
    common platform_data driver usage (typically accessed via
    pdev->dev.platform_data) and the way MFD passes data down to
    clients (using a wrapper named mfd_get_data).

    All clients have already been changed to use the wrapper function,
    so this can be a quick single-commit change that only touches things
    in drivers/mfd.

    Signed-off-by: Andres Salomon
    Acked-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Andres Salomon
     
  • The cell's platform_data is now accessed with a helper function;
    change clients to use that, and remove the now-unused data_size.

    Note that mfd-core no longer makes a copy of platform_data, but the
    mc13xxx-core driver creates the pdata structures on the stack. In
    order to get around that, the various ARM mach types that set the
    pdata have been changed to hold the variable in static (global) memory.
    Also note that __initdata references in aforementioned pdata structs
    have been dropped.

    Signed-off-by: Andres Salomon
    Signed-off-by: Samuel Ortiz

    Andres Salomon
     

14 Jan, 2011

1 commit


29 Oct, 2010

3 commits