diff options
author | Jianhua Lu <[email protected]> | 2024-01-29 20:28:29 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-07 09:03:28 +0000 |
commit | f1ac3c9825f99c93a9833beee6b78aa386e55b0b (patch) | |
tree | 030ea2bdbadb34965242f560f1f2188310f99132 /tools/perf/util/trace-event-scripting.c | |
parent | b1ba8bcb2d1ffce11b308ce166c9cc28d989e3b9 (diff) |
backlight: ktz8866: Correct the check for of_property_read_u32
of_property_read_u32 returns 0 when success, so reverse the
return value to get the true value.
Fixes: f8449c8f7355 ("backlight: ktz8866: Add support for Kinetic KTZ8866 backlight")
Signed-off-by: Jianhua Lu <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions