diff options
| author | Gopi Krishna Menon <krishnagopi487@gmail.com> | 2026-03-27 14:35:24 +0530 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-03-27 11:26:43 +0100 |
| commit | da2c4f332a0504d9c284e7626a561d343c8d6f57 (patch) | |
| tree | cc11db9bf6d6f6ea24081367cf6d1b418478520b /net/ipv4/ipvs/git@git.tavy.me:linux.git | |
| parent | 85f18eddf0761c8f9d9af93251febf4b8813d659 (diff) | |
thermal/drivers/spear: Fix error condition for reading st,thermal-flags
of_property_read_u32 returns 0 on success. The current check returns
-EINVAL if the property is read successfully.
Fix the check by removing ! from of_property_read_u32
Fixes: b9c7aff481f1 ("drivers/thermal/spear_thermal.c: add Device Tree probing capability")
Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Suggested-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20260327090526.59330-1-krishnagopi487@gmail.com
Diffstat (limited to 'net/ipv4/ipvs/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
