1. 05 May, 2015 1 commit
    • Greg Kroah-Hartman's avatar
      greybus: battery: update for 4.1 power supply api changes · a549be51
      Greg Kroah-Hartman authored
      The 4.1-rc1 kernel changed the power supply apis such that the
      structures are now owned by the power supply core, and not the
      individual drivers.  This broke the greybus battery driver, so update it
      to support both the old and the new apis.
      
      The API changes were such that I can't "hide" them in kernel_ver.h, but
      rather the driver itself needs to have ugly #ifdefs in it.  I tried to
      keep it to a minimum, making a sub-function for initializing the power
      supply device that is implemented differently for different kernel
      versions.
      
      When this is submitted upstream, or if we ever move our AP development
      to 4.1 or greater, the support for older kernels can be removed.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      a549be51
  2. 01 May, 2015 6 commits
  3. 29 Apr, 2015 5 commits
  4. 17 Apr, 2015 2 commits
  5. 16 Apr, 2015 1 commit
  6. 10 Apr, 2015 3 commits
  7. 09 Apr, 2015 6 commits
  8. 07 Apr, 2015 13 commits
  9. 06 Apr, 2015 3 commits