diff options
author | Pieter Van Trappen <pieter.van.trappen@cern.ch> | 2025-07-08 17:24:49 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2025-07-24 08:54:15 +0200 |
commit | 354b2a29ec40d643c8a0facf5bfb4c66386e9391 (patch) | |
tree | f712cb4df3d972274248937644d107316b82b0d1 /drivers/fpga/xilinx.c | |
parent | 53a10c8ce996dff088fe4afecf0ea446acba854b (diff) |
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>
Diffstat (limited to 'drivers/fpga/xilinx.c')
-rw-r--r-- | drivers/fpga/xilinx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/xilinx.c b/drivers/fpga/xilinx.c index c46513226d9..28c68faba55 100644 --- a/drivers/fpga/xilinx.c +++ b/drivers/fpga/xilinx.c @@ -49,7 +49,7 @@ int fpga_loadbitstream(int devnum, char *fpgadata, size_t size, dataptr = (unsigned char *)fpgadata; /* Find out fpga_description */ - desc = fpga_validate(devnum, dataptr, 0, (char *)__func__); + desc = fpga_validate(devnum, dataptr, 0); /* Assign xilinx device description */ xdesc = desc->devdesc; |