1. 13 Jul, 2018 1 commit
    • Andy Shevchenko's avatar
      gpiolib: Mark gpio_suffixes array with __maybe_unused · b23ec599
      Andy Shevchenko authored
      Since we put static variable to a header file it's copied to each module
      that includes the header. But not all of them are actually used it.
      
      Mark gpio_suffixes array with __maybe_unused to hide a compiler warning:
      
      In file included from
      drivers/gpio/gpiolib-legacy.c:6:0:
      drivers/gpio/gpiolib.h:95:27: warning: ‘gpio_suffixes’ defined but not used [-Wunused-const-variable=]
       static const char * const gpio_suffixes[] = { "gpios", "gpio" };
                                 ^~~~~~~~~~~~~
      In file included from drivers/gpio/gpiolib-devprop.c:17:0:
      drivers/gpio/gpiolib.h:95:27: warning: ‘gpio_suffixes’ defined but not used [-Wunused-const-variable=]
       static const char * const gpio_suffixes[] = { "gpios", "gpio" };
                                 ^~~~~~~~~~~~~
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      b23ec599
  2. 09 Jul, 2018 8 commits
  3. 02 Jul, 2018 27 commits
  4. 26 Jun, 2018 1 commit
  5. 18 Jun, 2018 3 commits