29 Jun, 2016

1 commit

  • The Kconfig currently controlling compilation of this code is:

    drivers/mfd/Kconfig:config MFD_MAX77843
    drivers/mfd/Kconfig: bool "Maxim Semiconductor MAX77843 PMIC Support"

    ...meaning that it currently is not being built as a module by anyone.

    Lets remove the modular code that is essentially orphaned, so that
    when reading the driver there is no doubt it is builtin-only.

    We explicitly disallow a driver unbind, since that doesn't have a
    sensible use case anyway, and it allows us to drop the ".remove"
    code for non-modular drivers.

    Since module_i2c_driver() uses the same init level priority as
    builtin_i2c_driver() the init ordering remains unchanged with
    this commit.

    Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

    Signed-off-by: Paul Gortmaker
    Signed-off-by: Lee Jones

    Paul Gortmaker
     

14 Jan, 2016

1 commit


01 Oct, 2015

1 commit

  • If i2c_new_dummy() fails in max77843_chg_init(), an PTR_ERR(NULL) is
    returned which is 0. So the function was wrongly returning a success
    value instead of an error code.

    Cc: stable@vger.kernel.org # 4.1
    Fixes: c7f585fe46d8 ("mfd: max77843: Add max77843 MFD driver core driver")
    Signed-off-by: Javier Martinez Canillas
    Reviewed-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Javier Martinez Canillas
     

17 Jul, 2015

1 commit


04 Mar, 2015

1 commit