soc/tegra: fuse: Don't return -ENOMEM when allocate lookups failed
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 12 Apr 2021 14:05:27 +0000 (22:05 +0800)
committerThierry Reding <treding@nvidia.com>
Wed, 2 Jun 2021 08:58:55 +0000 (10:58 +0200)
commit854d128b8c6c4fa47810ac7cf87c16b8085c3199
tree8d3275346c51c4322adb7c02e6c906059d987f50
parent029f7e24a65df641ac843cda8dabe359ff0826eb
soc/tegra: fuse: Don't return -ENOMEM when allocate lookups failed

fuse->base can not be unmapped if allocate lookups failed in
tegra_init_fuse(), because it is an early_initcall, the driver
will be loaded anyway and fuse->base will be accessed by other
functions later, so remove the return -ENOMEM after allocating
lookups failed to make less confusing.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
[treding@nvidia.com: drop error message, out-of-memory is noisy anyway]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra.c