1. 05 1月, 2021 1 次提交
  2. 06 12月, 2020 2 次提交
  3. 02 12月, 2020 1 次提交
  4. 21 11月, 2020 2 次提交
  5. 19 11月, 2020 1 次提交
  6. 18 11月, 2020 1 次提交
  7. 16 11月, 2020 1 次提交
  8. 14 11月, 2020 2 次提交
  9. 08 11月, 2020 2 次提交
  10. 05 11月, 2020 1 次提交
  11. 04 11月, 2020 2 次提交
  12. 01 11月, 2020 4 次提交
  13. 30 10月, 2020 1 次提交
  14. 20 10月, 2020 1 次提交
  15. 11 10月, 2020 1 次提交
  16. 09 10月, 2020 1 次提交
  17. 02 10月, 2020 2 次提交
  18. 28 9月, 2020 1 次提交
  19. 24 8月, 2020 1 次提交
  20. 20 8月, 2020 2 次提交
  21. 22 7月, 2020 1 次提交
  22. 15 7月, 2020 1 次提交
  23. 01 7月, 2020 1 次提交
    • B
      net: phy: don't abuse devres in devm_mdiobus_register() · ac3a68d5
      Bartosz Golaszewski 提交于
      We currently have two managed helpers for mdiobus - devm_mdiobus_alloc()
      and devm_mdiobus_register(). The idea behind devres is that the release
      callback releases whatever resource the devm function allocates. In the
      mdiobus case however there's no devres associated with the device by
      devm_mdiobus_register(). Instead the release callback for
      devm_mdiobus_alloc(): _devm_mdiobus_free() unregisters the device if
      it is marked as managed.
      
      This all seems wrong. The managed structure shouldn't need to know or
      care about whether it's managed or not - and this is the case now for
      struct mii_bus. The devres wrapper should be opaque to the managed
      resource.
      
      This changeset makes devm_mdiobus_alloc() and devm_mdiobus_register()
      conform to common devres standards: devm_mdiobus_alloc() allocates a
      devres structure and registers a callback that will call mdiobus_free().
      __devm_mdiobus_register() allocated another devres and registers a
      callback that will unregister the bus.
      Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ac3a68d5
  24. 29 6月, 2020 2 次提交
  25. 24 6月, 2020 1 次提交
  26. 23 6月, 2020 4 次提交