diff options
author | Kartik <kkartik@nvidia.com> | 2023-10-17 07:23:16 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2024-02-01 15:58:05 +0100 |
commit | 4569e604b5abc2eacc30dd6ac7e3e0fbaa87bc42 (patch) | |
tree | cffebdfef2099e8787349512f61e84e4a1e54116 /drivers/soc/tegra/fuse/tegra-apbmisc.c | |
parent | mm/util: Introduce kmemdup_array() (diff) | |
download | linux-4569e604b5abc2eacc30dd6ac7e3e0fbaa87bc42.tar.xz linux-4569e604b5abc2eacc30dd6ac7e3e0fbaa87bc42.zip |
soc/tegra: fuse: Use dev_err_probe for probe failures
Currently, in tegra_fuse_probe() if clock/reset get fails, then the
driver prints an error if the error is not caused by -EPROBE_DEFER.
This can be improved by using dev_err_probe() instead.
So, return dev_err_probe() if clock/reset get fails.
Signed-off-by: Kartik <kkartik@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc/tegra/fuse/tegra-apbmisc.c')
0 files changed, 0 insertions, 0 deletions