1. 08 Nov, 2016 1 commit
    • Arnd Bergmann's avatar
      clk: pxa mark dummy helper as 'inline' · e0a3862c
      Arnd Bergmann authored
      The dummy_clk_set_parent function is marked as 'static' but is
      no longer referenced from the pxa25x clk driver after the last use
      of the RATE_RO_OPS() macro is gone from this file, causing a
      harmless build warning:
      
      In file included from drivers/clk/pxa/clk-pxa25x.c:24:0:
      drivers/clk/pxa/clk-pxa.h:146:12: error: 'dummy_clk_set_parent' defined but not used [-Werror=unused-function]
      
      This marks the functon as 'inline', which lets the compiler simply
      drop it when it gets referenced.
      
      Fixes: 9fe69429 ("clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      e0a3862c
  2. 04 Nov, 2016 5 commits
    • Paul Gortmaker's avatar
      clk: ti: make clk-dra7-atl explicitly non-modular · 172ff5a2
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      arch/arm/mach-omap2/Kconfig:config SOC_DRA7XX
      arch/arm/mach-omap2/Kconfig:    bool "TI DRA7XX"
      
      ...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.
      
      We also delete the MODULE_LICENSE tags etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: linux-omap@vger.kernel.org
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      172ff5a2
    • Paul Gortmaker's avatar
      clk: tegra: make clk-tegra124-dfll-fcpu explicitly non-modular · 33996b02
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      arch/arm/mach-tegra/Kconfig:config ARCH_TEGRA_124_SOC
      arch/arm/mach-tegra/Kconfig:    bool "Enable support for Tegra124 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.
      
      Since module_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tags etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
      Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Aleksandr Frid <afrid@nvidia.com>
      Cc: Paul Walmsley <pwalmsley@nvidia.com>
      Cc: linux-clk@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      33996b02
    • Paul Gortmaker's avatar
      clk: mvebu: make ap806-system-controller explicitly non-modular · 188e8719
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/clk/mvebu/Kconfig:config ARMADA_AP806_SYSCON
      drivers/clk/mvebu/Kconfig:      bool
      
      ...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.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      188e8719
    • Paul Gortmaker's avatar
      clk: mvebu: make cp110-system-controller explicitly non-modular · 7acf751e
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/clk/mvebu/Kconfig:config ARMADA_CP110_SYSCON
      drivers/clk/mvebu/Kconfig:      bool
      
      ...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.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      7acf751e
    • Robert Jarzmik's avatar
      clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq · 9fe69429
      Robert Jarzmik authored
      This is the initial stage to transfer the pxa25x and pxa27x CPU clocks
      handling from cpufreq to the clock API. More precisely, the clocks
      transferred are :
       - cpll : core pll, known also as the CPU core turbo frequency
       - core : core, known also as the CPU actual frequency, being either the
                CPU core turbo frequency or the CPU core run frequency
      
      This transfer is a prequel to shrink the code in pxa2xx-cpufreq.c, so
      that it can become, at least in devicetree builds, the casual cpufreq-dt
      driver.
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      9fe69429
  3. 02 Nov, 2016 31 commits
  4. 28 Oct, 2016 3 commits