1. 07 May, 2015 1 commit
    • Alex Elder's avatar
      greybus: battery: free struct on error in caller · 9ade6d31
      Alex Elder authored
      When a battery connection is initialized, a gb_battery structure for
      it is allocated in gb_battery_connection_init().  Currently that
      function ends by calling init_and_register(); in the event an error
      occurs, init_and_register() is responsible for freeing the allocated
      gb_battery structure.
      
      Make the code a bit better balanced by having the function that
      allocates the structure be responsible for freeing it in case of
      error.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      9ade6d31
  2. 05 May, 2015 7 commits
  3. 01 May, 2015 6 commits
  4. 29 Apr, 2015 5 commits
  5. 17 Apr, 2015 2 commits
  6. 16 Apr, 2015 1 commit
  7. 10 Apr, 2015 3 commits
  8. 09 Apr, 2015 6 commits
  9. 07 Apr, 2015 9 commits