1. 14 Feb, 2023 2 commits
    • Vaibhav Gupta's avatar
      software: kernel: hwmon: Use devm_kasprintf() · e41ca478
      Vaibhav Gupta authored
      Instead of manually calculating the size, allocating the memory, and
      writing data to it, use devm_kasprintf(). It will do all the job in one
      go.
      Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
      e41ca478
    • Vaibhav Gupta's avatar
      software: kernel: Use HWMON API to expose Temperature · d0bb7817
      Vaibhav Gupta authored
      Information from sensors like temperature, which are useful for
      user-space, can be exposed via sysfs.
      
      Earlier, the driver developers had to take care of defining the attributes,
      initiating them, and perform other related jobs.
      
      But since a long time, the HWMON framework in Linux has developed
      significantly. And, utilizing it will reduce lot of maintainence work
      for the developers.
      
      All the sysfs related part is handled by the framework which also allows
      user-space tools, like lm-sensors, to provide the data to the user in a
      simplified manner.
      Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
      d0bb7817
  2. 09 Dec, 2022 2 commits
  3. 08 Dec, 2022 6 commits
  4. 07 Dec, 2022 2 commits
  5. 05 Dec, 2022 6 commits
  6. 08 Nov, 2022 11 commits
  7. 24 Oct, 2022 9 commits
  8. 16 Aug, 2022 2 commits