Skip to content
  1. Sep 18, 2023
  2. Sep 15, 2023
  3. Sep 12, 2023
    • Mark Brown's avatar
      spi: Use devm_clk_get_*() helper function to · fd811b62
      Mark Brown authored
      Merge series from Li Zetao <lizetao1@huawei.com>:
      
      Commit 7ef9651e ("clk: Provide new devm_clk helpers for prepared
      and enabled clocks") provides a new helper function for prepared and
      enabled clocks when a driver keeps a clock prepared (or enabled) during
      the whole lifetime of the driver. So where drivers get clocks and enable
      them immediately, it can be combined into a single function
      devm_clk_get_*(). Moreover, the unprepare and disable function
      has been registered to devm_clk_state, and before devm_clk_state is
      released, the clocks will be unprepareed and disable, so it is unnecessary
      to unprepare and disable clocks explicitly when remove drivers or in the
      error handling path.
      fd811b62
    • Mark Brown's avatar
      spi: switch to use modern name (part3) · fffae3af
      Mark Brown authored
      Merge series from Yang Yingliang <yangyingliang@huawei.com>:
      
      I'm trying to rename the legacy name to modern name used in SPI drivers,
      this is part3 patchset.
      
      After introducing devm_spi_alloc_host/spi_alloc_host(), the legacy
      named function devm_spi_alloc_master/spi_alloc_master() can be replaced.
      And also change other legacy name master/slave to modern name host/target
      or controller. Each patch compile test passed.
      fffae3af
    • Mark Brown's avatar
      spidev: A few cleanups · 7a4feff7
      Mark Brown authored
      Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>:
      
      A few cleanups to the spidev.c to utilize existing APIs and make it
      use less amount of Lines of Code. No functional change intended.
      7a4feff7
  4. Sep 11, 2023