diff options
author | Abel Vesa <[email protected]> | 2024-05-07 14:07:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-05-08 19:46:10 +0100 |
commit | 994ac434b7261ac2d89c65c7fa75fa697bfd7054 (patch) | |
tree | 60ea8897b6df3f811c17245ac6f5f209bed1f9d9 /include/linux/fpga/fpga-mgr.h | |
parent | 8bc03763e15b6783fdf149677d89a84e935aea8c (diff) |
spmi: pmic-arb: Make core resources acquiring a version operation
Rather than setting up the core, obsrv and chnls in probe by using
version specific conditionals, add a dedicated "get_core_resources"
version specific op and move the acquiring in there. Since there are
no current users of the second bus yet, drop the comment about why
devm_platform_ioremap_resource can't be used in case of "core",
as it is not applicable anymore.
Don't switch to devm_platform_ioremap_resource though as we need
to keep track of core size.
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Abel Vesa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions