diff options
| author | Ashish Mhetre <amhetre@nvidia.com> | 2026-04-30 12:52:00 +0300 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-05-04 20:17:48 +0300 |
| commit | 4f42beeb9796e24e8009c46d1a2d676803e5ab24 (patch) | |
| tree | fd818336cda02c9480f73eb4297dd67c4931f7f9 /include/linux | |
| parent | 8879cff7f86f82e8922208668fb0f7227e4836db (diff) | |
| download | linux-4f42beeb9796e24e8009c46d1a2d676803e5ab24.tar.xz | |
memory: tegra: Make ->resume() callback return void
tegra186_mc_resume() is the only implementation of the SoC ->resume()
op in struct tegra_mc_ops, and it can never fail as the SID override
loop has no error path. The int return value is therefore not used.
Change the prototype to return void so callers do not need to deal
with a value that is always 0. If a future SoC needs to report
failure from resume, an int return type can be reintroduced then.
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260430095202.1167651-2-amhetre@nvidia.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
