1. 29 5月, 2017 6 次提交
    • P
      pinctrl: bcm: clean up modular vs. non-modular distinctions · 34f46848
      Paul Gortmaker 提交于
      Fixups here tend to be more of a conglomerate of some of the other
      repeated/systematic ones we've seen in the earlier pinctrl cleanups.
      
      We remove module.h from code that isn't doing anything modular at
      all;  if they have __init sections, then replace it with init.h
      
      One driver has a .remove that would be dispatched on module_exit,
      and as that code is essentially orphaned, so we remove it.  In case
      anyone was previously doing the (pointless) unbind to get to that
      function, we disable unbind for this one driver as well.
      
      A couple bool drivers (hence non-modular) are converted over to
      to builtin_platform_driver().
      
      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
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Jon Mason <jonmason@broadcom.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Ray Jui <rjui@broadcom.com>
      Cc: Scott Branden <sbranden@broadcom.com>
      Cc: Sherman Yin <syin@broadcom.com>
      Cc: bcm-kernel-feedback-list@broadcom.com
      Cc: linux-gpio@vger.kernel.org
      Cc: linux-rpi-kernel@lists.infradead.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Tested-by: NStefan Wahren <stefan.wahren@i2se.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      34f46848
    • P
      pinctrl: tegra: clean up modular vs. non-modular distinctions · e3d2160f
      Paul Gortmaker 提交于
      None of the Kconfigs for any of these drivers are tristate,
      meaning that they currently are not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the drivers there is no doubt they are builtin-only.  All
      drivers get similar changes, so they are handled in batch.
      
      We remove module.h from code that isn't doing anything modular at
      all;  if they have __init sections, then replace it with init.h.
      
      A couple drivers have module_exit() code that is essentially orphaned,
      and so we remove that.
      
      Quite a few bool drivers (hence non-modular) are converted over to
      to builtin_platform_driver().
      
      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
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Pritesh Raithatha <praithatha@nvidia.com>
      Cc: Ashwini Ghuge <aghuge@nvidia.com>
      Cc: linux-gpio@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      e3d2160f
    • M
      pinctrl: single: use of_device_get_match_data() to get soc data · 1a8764f4
      Masahiro Yamada 提交于
      Use of_device_get_match_data() instead of of_match_device().
      It allows us to remove the forward declaration of pcs_of_match.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      1a8764f4
    • S
      pinctrl: zte: fix group_desc initialization · 80fbc2d9
      Shawn Guo 提交于
      There are a couple of issues with group_desc initialization in function
      zx_pinctrl_build_state().
      
       - num_pins is not initialized and remains zero.
       - pins shouldn't be initialized with a pointer to variable in the
         stack.
      
      With them fixed, pin_request() in pinmux_enable_setting() can be invoked
      correctly.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      80fbc2d9
    • N
      pinctrl: meson-gxbb: Add SPI pins for SPICC controller · dcbcc304
      Neil Armstrong 提交于
      The SPICC controller has dedicated SPI pins, this patchs add the pins
      definition in the GXBB pinctrl driver
      Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      dcbcc304
    • N
      pinctrl: meson-gxl: Add SPI pins for the SPICC controller · 477fa24e
      Neil Armstrong 提交于
      The SPICC controller has dedicated SPI pins, this patchs add the pins
      definition in the GXL pinctrl driver.
      Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      477fa24e
  2. 23 5月, 2017 18 次提交
  3. 22 5月, 2017 16 次提交