thermal: intel: int340x: Add new line for UUID display
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 22 May 2023 22:38:44 +0000 (15:38 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 May 2023 17:50:04 +0000 (19:50 +0200)
commit5f7fdb0f255756b594cc45c2c08b0140bc4a1761
treea75c4798098e833a0e1c8f723ce43a9fe8965044
parent44c026a73be8038f03dbdeef028b642880cf1511
thermal: intel: int340x: Add new line for UUID display

Prior to the commit "763bd29fd3d1 ("thermal: int340x_thermal: Use
sysfs_emit_at() instead of scnprintf()", there was a new line after each
UUID string.

With the newline removed, existing user space like "thermald" fails to
compare each supported UUID as it is using getline() to read UUID and
apply correct thermal table.

To avoid breaking existing user space, add newline after each UUID string.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fixes: 763bd29fd3d1 ("thermal: int340x_thermal: Use sysfs_emit_at() instead of scnprintf()")
Cc: 6.3+ <stable@vger.kernel.org> # 6.3+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/int3400_thermal.c