07 Jul, 2016

1 commit

  • The Kconfig currently controlling compilation of this code is:

    drivers/clk/Kconfig:config COMMON_CLK_OXNAS
    drivers/clk/Kconfig: bool "Clock driver for the OXNAS SoC Family"

    ...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_platform_driver() uses the same init level priority as
    builtin_platform_driver() the init ordering remains unchanged with
    this commit.

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

    Cc: Stephen Boyd
    Acked-by: Neil Armstrong
    Cc: linux-clk@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Michael Turquette
    Link: lkml.kernel.org/r/20160704211220.5685-6-paul.gortmaker@windriver.com

    Paul Gortmaker
     

21 Jun, 2016

1 commit

  • In case of error, the function syscon_node_to_regmap() returns
    ERR_PTR() and never returns NULL. The NULL test in the return
    value check should be replaced with IS_ERR().

    Signed-off-by: Wei Yongjun
    Acked-by: Neil Armstrong
    Fixes: 0bbd72b4c64f ("clk: Add Oxford Semiconductor OXNAS Standard Clocks")
    Signed-off-by: Stephen Boyd

    Wei Yongjun
     

22 Apr, 2016

1 commit