diff options
| author | Biju Das <[email protected]> | 2021-12-08 16:40:09 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2021-12-09 14:58:09 +0000 |
| commit | 8ee1c0f6526ce942b7595951c7bb0165010051c2 (patch) | |
| tree | 8efb51c88f6d08ce9887706eff3924052eb99334 /tools/bpf/bpftool/prog.c | |
| parent | thermal/drivers/imx8mm: Enable ADC when enabling monitor (diff) | |
| download | kernel-8ee1c0f6526ce942b7595951c7bb0165010051c2.tar.gz kernel-8ee1c0f6526ce942b7595951c7bb0165010051c2.zip | |
thermal/drivers/rz2gl: Add error check for reset_control_deassert()
If reset_control_deassert() fails, then we won't be able to access
the device registers. Therefore check the return code of
reset_control_deassert() and bail out in case of error.
While at it replace the parameter "&pdev->dev" -> "dev" in
devm_reset_control_get_exclusive().
Suggested-by: Philipp Zabel <[email protected]>
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
