1. 10 5月, 2016 1 次提交
  2. 09 5月, 2016 2 次提交
    • A
      pinctrl: nomadik: hide nmk_gpio_get_mode when unused · caee57ec
      Arnd Bergmann 提交于
      nmk_gpio_get_mode is only used in one place, and that is conditionally
      compiled if DEBUG_FS is enabled. A recent cleanup has marked the
      definition 'static', which now leads to a warning:
      
      drivers/pinctrl/nomadik/pinctrl-nomadik.c:614:12: error: 'nmk_gpio_get_mode' defined but not used [-Werror=unused-function]
       static int nmk_gpio_get_mode(struct nmk_gpio_chip *nmk_chip, int offset)
                  ^~~~~~~~~~~~~~~~~
      
      Moving the function itself inside the #ifdef shuts it up again.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 5e81e0a0 ("pinctrl: nomadik: use BIT() with offsets consequently")
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      caee57ec
    • A
      pinctrl: ns2: rename pinctrl_utils_dt_free_map · 9d814d41
      Arnd Bergmann 提交于
      A conflict of two patches caused a build error when a function got renamed
      but a new user appeared in the other patch:
      
      drivers/pinctrl/bcm/pinctrl-ns2-mux.c:540:17: error: 'pinctrl_utils_dt_free_map' undeclared here (not in a function)
        .dt_free_map = pinctrl_utils_dt_free_map,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
      
      This renames the new user of pinctrl_utils_dt_free_map accordingly.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: d32f7fd3 ("pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map")
      Fixes: b5aa1006 ("pinctrl: ns2: add pinmux driver support for Broadcom NS2 SoC")
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9d814d41
  3. 02 5月, 2016 3 次提交
  4. 30 4月, 2016 2 次提交
  5. 29 4月, 2016 2 次提交
  6. 28 4月, 2016 2 次提交
  7. 26 4月, 2016 1 次提交
  8. 21 4月, 2016 27 次提交