linux/drivers/fpga
Wolfram Sang 8de36789bd fpga: zynq-fpga: Rename 'timeout' variable as 'time_left'
There is a confusing pattern in the kernel to use a variable named
'timeout' to store the result of wait_for_completion_timeout() causing
patterns like:

        timeout = wait_for_completion_timeout(...)
        if (!timeout) return -ETIMEDOUT;

with all kinds of permutations. Use 'time_left' as a variable to make the
code self explaining.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20240729104319.2658-2-wsa+renesas@sang-engineering.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
2024-08-14 23:58:14 +08:00
..
tests fpga: Simplify and improve fpga region test using deferred actions 2024-08-14 23:51:04 +08:00
Kconfig
Makefile
altera-cvp.c
altera-fpga2sdram.c
altera-freeze-bridge.c
altera-hps2fpga.c
altera-pr-ip-core-plat.c
altera-pr-ip-core.c
altera-ps-spi.c
dfl-afu-dma-region.c
dfl-afu-error.c
dfl-afu-main.c
dfl-afu-region.c
dfl-afu.h
dfl-fme-br.c
dfl-fme-error.c
dfl-fme-main.c
dfl-fme-mgr.c
dfl-fme-perf.c
dfl-fme-pr.c
dfl-fme-pr.h
dfl-fme-region.c
dfl-fme.h
dfl-n3000-nios.c
dfl-pci.c
dfl.c
dfl.h
fpga-bridge.c
fpga-mgr.c
fpga-region.c
ice40-spi.c
intel-m10-bmc-sec-update.c
lattice-sysconfig-spi.c
lattice-sysconfig.c
lattice-sysconfig.h
machxo2-spi.c
microchip-spi.c
of-fpga-region.c
socfpga-a10.c
socfpga.c fpga: socfpga: Rename 'timeout' variable as 'time_left' 2024-08-14 23:57:07 +08:00
stratix10-soc.c
ts73xx-fpga.c
versal-fpga.c
xilinx-core.c
xilinx-core.h
xilinx-pr-decoupler.c
xilinx-selectmap.c
xilinx-spi.c
zynq-fpga.c fpga: zynq-fpga: Rename 'timeout' variable as 'time_left' 2024-08-14 23:58:14 +08:00
zynqmp-fpga.c