diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-07-04 10:19:32 -0500 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-07-11 12:46:33 +0100 |
commit | 87e552ad654554be73e62dd43c923bcee215287d (patch) | |
tree | cbb7b46e78274377959270f55888586aa942c539 /scripts/gdb/linux/symbols.py | |
parent | 4137d94fd8726431b8bf3ab329311c59e80f5530 (diff) |
leds: flash: leds-qcom-flash: Test the correct variable in init
This code was passing the incorrect pointer to PTR_ERR_OR_ZERO() so it
always returned success. It should have been checking the array element
instead of the array itself.
Fixes: 96a2e242a5dc ("leds: flash: Add driver to support flash LED module in QCOM PMICs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/ZoWJS_epjIMCYITg@stanley.mountain
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions