firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 15 Feb 2021 15:58:49 +0000 (00:58 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 1 Mar 2021 11:52:07 +0000 (12:52 +0100)
commit79bfe480a0a0b259ab9fddcd2fe52c03542b1196
tree6e1707885d675af77d066610bf2b6b15cabd4e47
parentf1f21bece82c76a56a96988ec7d51ccc033d8949
firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)

zynqmp_pm_get_eemi_ops() was removed in commit 4db8180ffe7c: "Firmware: xilinx:
Remove eemi ops for fpga related APIs", but not in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE).
Any driver who want to communicate with PMC using EEMI APIs use the functions provided
for each function
This removed zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE), and also
modify the documentation for this driver.

Fixes: 4db8180ffe7c ("firmware: xilinx: Remove eemi ops for fpga related APIs")
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20210215155849.2425846-1-iwamatsu@nigauri.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/driver-api/xilinx/eemi.rst
include/linux/firmware/xlnx-zynqmp.h