1. 28 Mar, 2014 1 commit
    • Maxime Ripard's avatar
      i2c: mv64xxx: Fix reset controller handling · f2a67d0c
      Maxime Ripard authored
      The reset framework recently gained optional stubs when CONFIG_RESET_CONTROLLER
      is not selected. It also introduced a function reset_get_optional, that is also
      dummy-defined whenever the framework isn't enabled, for drivers that needs an
      optional reset controller.
      
      Switch to this function, since the mv64xxx driver is in this case. This also
      fixes a compilation breakage whenever the reset framework wasn't selected:
      
      drivers/i2c/busses/i2c-mv64xxx.c:771:2: error: implicit declaration of function 'devm_reset_control_get'
      
      While we're at it, remove the redundant test on dev.of_node surrounding the
      calls to reset framework functions, since it will either be a valid pointer, an
      error pointer in the case where we called reset_get_optional without an of_node
      pointer or if it failed, or NULL if we're not loaded through DT.
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      f2a67d0c
  2. 27 Mar, 2014 2 commits
  3. 13 Mar, 2014 6 commits
  4. 12 Mar, 2014 5 commits
  5. 10 Mar, 2014 7 commits
  6. 09 Mar, 2014 7 commits
  7. 06 Mar, 2014 1 commit
  8. 05 Mar, 2014 11 commits