1. 28 May, 2014 1 commit
    • Linus Walleij's avatar
      gpio: mcp23s08: switch chip count to int · 596a1c5f
      Linus Walleij authored
      Commit 3e3bed91
      "gpio: mcp23s08: fixed count variable for devicetree probing"
      introduced a loop check to see if the number of chips were
      unconsistent and going below zero counting downwards, but
      this requires the counting variable to be able to be
      negative, so switch the variable from unsigned to int.
      
      Cc: Michael Stickel <ms@mycable.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      596a1c5f
  2. 27 May, 2014 5 commits
  3. 23 May, 2014 4 commits
  4. 21 May, 2014 1 commit
    • Alexandre Courbot's avatar
      gpio: make of_get_named_gpiod_flags() private · f01d9075
      Alexandre Courbot authored
      of_get_named_gpiod_flags() is visible and directly usable by GPIO
      consumers, but it really should not as the gpiod interface relies
      on the simpler gpiod_get() to provide properly-configured GPIOs.
      
      of_get_named_gpiod_flags() is just used internally by gpiolib to
      implement gpiod_get(), and by the old of_get_named_gpio_flags()
      function, therefore it makes sense to make it gpiolib-private.
      
      As a side-effect, the unused (and unneeded) of_get_gpiod_flags()
      inline function is also removed, and of_get_named_gpio_flags() is moved
      from a static inline function to a regular one in gpiolib-of.c
      
      This results in all references to gpiod_* functions in of_gpio.h being
      gone, which is the way it should be since this file is part of the old
      integer GPIO interface.
      
      Changes since v1:
      - Fixed compilation error when CONFIG_OF_GPIO is not defined
      - Fixed warning due to of_gpio_flags enum not being declared
        in private gpiolib.h header
      Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f01d9075
  5. 16 May, 2014 6 commits
  6. 13 May, 2014 1 commit
  7. 09 May, 2014 22 commits