drivers: fpga: cleanup printf usage
authorPieter Van Trappen <pieter.van.trappen@cern.ch>
Tue, 8 Jul 2025 15:24:49 +0000 (17:24 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 24 Jul 2025 06:54:15 +0000 (08:54 +0200)
commit354b2a29ec40d643c8a0facf5bfb4c66386e9391
treef712cb4df3d972274248937644d107316b82b0d1
parent53a10c8ce996dff088fe4afecf0ea446acba854b
drivers: fpga: cleanup printf usage

Remove `fpga_no_sup` to get rid of Werror=unused-function when all
FPGA configurations are enabled.

Swap all printf calls to log_* as this is now preferred and includes
the calling __func__.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
Link: https://lore.kernel.org/r/20250708152455.1214487-5-vtpieter@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/fpga/fpga.c
drivers/fpga/xilinx.c
include/fpga.h