diff options
| author | 2026-09-16 14:08:54 +0200 | |
|---|---|---|
| committer | 2026-09-17 11:23:30 -0400 | |
| commit | 904e5ef5ac48495ed439ca37dde7f0ce1e9c4af7 (patch) | |
| tree | decc235f91bdefa94ab81b966caa48c7b9f059b9 /scripts/Makefile.thinlto | |
| parent | clk: ti: clean-up simple provider misuse of the consumer API (diff) | |
clk: eyeq: Use devm_platform_ioremap_resource()
Convert eqc_probe() from the open-coded platform_get_resource() +
ioremap() sequence to devm_platform_ioremap_resource(). Besides less
code, this requests the memory region so the OLB registers are properly
reserved in the iomem_resource tree.
Move devm_platform_ioremap_resource() before checking for device match
data, so OLBs bound without match data also get their memory region
mapped and reserved.
Unregister the clocks before devres unmaps the region if the clock
provider registration fails.
Suggested-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>
Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
