1. 16 Jan, 2023 2 commits
    • Randy Dunlap's avatar
      thermal/drivers/rockchip: Fix kernel-doc warnings · 6d5dad7b
      Randy Dunlap authored
      Don't use "/**" to begin non-kernel-doc comments.
      Convert one function description to kernel-doc format.
      Prevents these kernel-doc warnings:
      
      drivers/thermal/rockchip_thermal.c:64: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * The max sensors is two in rockchip SoCs.
      drivers/thermal/rockchip_thermal.c:179: warning: expecting prototype for TSADC Sensor Register description(). Prototype was for TSADCV2_USER_CON() instead
      drivers/thermal/rockchip_thermal.c:1342: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Reset TSADC Controller, reset all tsadc registers.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: "Rafael J. Wysocki" <rafael@kernel.org>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Amit Kucheria <amitk@kernel.org>
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: linux-pm@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-rockchip@lists.infradead.org
      Link: https://lore.kernel.org/r/20230113064500.16103-1-rdunlap@infradead.orgSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      6d5dad7b
    • Randy Dunlap's avatar
      thermal/drivers/mtk_thermal: Fix kernel-doc function name · 3291651c
      Randy Dunlap authored
      Use the correct function name in a kernel-doc comment to prevent
      a warning:
      
      drivers/thermal/mtk_thermal.c:562: warning: expecting prototype for raw_to_mcelsius(). Prototype was for raw_to_mcelsius_v1() instead
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: "Rafael J. Wysocki" <rafael@kernel.org>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Amit Kucheria <amitk@kernel.org>
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: Matthias Brugger <matthias.bgg@gmail.com>
      Cc: linux-pm@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-mediatek@lists.infradead.org
      Link: https://lore.kernel.org/r/20230113064449.15061-1-rdunlap@infradead.orgSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      3291651c
  2. 09 Jan, 2023 1 commit
    • Rafael J. Wysocki's avatar
      Merge tag 'generic-trip-point' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux · 976cb655
      Rafael J. Wysocki authored
      Pull thermal control updates for 6.3 from Daniel Lezcano:
      
      "- Rework a large bunch of drivers to use the generic thermal trip
         structure and the opportunity to do more cleanups by removing unused
         functions in the OF code (Daniel Lezcano).
      
       - Fix some locking issues related to the generic thermal trip rework
         (Johan Hovold).
      
       - Fix a crash when requesting the critical temperature on tegra, this
         fix is related to the generic trip point (Jon Hunter).
      
       - Use strscpy() to instead of strncpy() (Xu Panda)."
      
      * tag 'generic-trip-point' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (37 commits)
        thermal/drivers/armada: Use strscpy() to instead of strncpy()
        thermal/drivers/qcom: Fix lock inversion
        thermal/drivers/tegra: Fix set_trip_temp() deadlock
        thermal/drivers/qcom: Fix set_trip_temp() deadlock
        thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
        wifi: iwlwifi: Use generic thermal_zone_get_trip() function
        thermal/drivers/tegra: Fix crash when getting critical temp
        thermal/drivers/exynos: Fix NULL pointer dereference when getting the critical temp
        thermal/drivers/intel: Use generic thermal_zone_get_trip() function
        thermal/intel/int340x: Replace parameter to simplify
        thermal/drivers/cxgb4: Use generic thermal_zone_get_trip() function
        thermal/drivers/acerhdf: Use generic thermal_zone_get_trip() function
        thermal/drivers/ti: Remove unused macros ti_thermal_get_trip_value() / ti_thermal_trip_is_valid()
        thermal/drivers/da9062: Use generic thermal_zone_get_trip() function
        thermal/drivers/broadcom: Use generic thermal_zone_get_trip() function
        thermal/drivers/rcar: Use generic thermal_zone_get_trip() function
        thermal/drivers/imx: Use generic thermal_zone_get_trip() function
        thermal/drivers/st: Use generic trip points
        thermal/of: Remove of_thermal_get_crit_temp()
        thermal/of: Remove of_thermal_set_trip_hyst()
        ...
      976cb655
  3. 06 Jan, 2023 37 commits