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
altera-cvp.c fpga: altera-cvp: Remove an unused field in struct altera_cvp_conf 2024-04-02 14:31:08 +08:00
altera-fpga2sdram.c fpga: altera-fpga2sdram: remove unused struct 'prop_map' 2024-06-14 10:18:11 +08:00
altera-freeze-bridge.c fpga: altera-freeze-bridge: Convert to platform remove callback returning void 2023-12-21 22:31:40 +08:00
altera-hps2fpga.c fpga: altera-hps2fpga: Convert to platform remove callback returning void 2023-12-21 22:31:53 +08:00
altera-pr-ip-core-plat.c fpga: Explicitly include correct DT includes 2023-07-17 09:23:04 +08:00
altera-pr-ip-core.c
altera-ps-spi.c fpga: altera: drop driver owner assignment 2024-04-01 16:39:57 +08:00
dfl-afu-dma-region.c
dfl-afu-error.c
dfl-afu-main.c fpga: dfl: remove unused member pdata from struct dfl_{afu,fme} 2024-04-23 15:36:33 +08:00
dfl-afu-region.c fpga: dfl: more kernel-doc corrections 2023-01-28 23:33:43 +08:00
dfl-afu.h fpga: dfl: remove unused member pdata from struct dfl_{afu,fme} 2024-04-23 15:36:33 +08:00
dfl-fme-br.c fpga: dfl-fme-br: Convert to platform remove callback returning void 2023-12-21 22:32:19 +08:00
dfl-fme-error.c
dfl-fme-main.c fpga: dfl: remove unused member pdata from struct dfl_{afu,fme} 2024-04-23 15:36:33 +08:00
dfl-fme-mgr.c fpga: dfl-fme-mgr: Convert to devm_platform_ioremap_resource() 2023-07-10 16:41:44 +08:00
dfl-fme-perf.c fpga: dfl: more kernel-doc corrections 2023-01-28 23:33:43 +08:00
dfl-fme-pr.c fpga: dfl: kernel-doc corrections 2023-01-28 23:33:05 +08:00
dfl-fme-pr.h fpga: dfl: more kernel-doc corrections 2023-01-28 23:33:43 +08:00
dfl-fme-region.c fpga: dfl-fme-region: Convert to platform remove callback returning void 2023-12-21 22:32:40 +08:00
dfl-fme.h fpga: dfl: remove unused member pdata from struct dfl_{afu,fme} 2024-04-23 15:36:33 +08:00
dfl-n3000-nios.c
dfl-pci.c fpga: dfl-pci: add PCI subdevice ID for Intel D5005 card 2024-04-26 12:14:28 +08:00
dfl.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
dfl.h fpga: dfl: remove unused function is_dfl_feature_present() 2024-04-23 15:36:33 +08:00
fpga-bridge.c fpga: bridge: add owner module and take its refcount 2024-03-31 21:54:44 +08:00
fpga-mgr.c fpga: manager: add owner module and take its refcount 2024-03-31 21:50:39 +08:00
fpga-region.c fpga: region: add owner module and take its refcount 2024-04-23 15:37:20 +08:00
ice40-spi.c fpga: ice40-spi: Don't use "proxy" headers 2024-04-23 15:36:32 +08:00
intel-m10-bmc-sec-update.c mfd: intel-m10-bmc: Change staging size to a variable 2024-05-10 15:39:16 +01:00
Kconfig fpga: xilinx-selectmap: add new driver 2024-03-31 22:44:21 +08:00
lattice-sysconfig-spi.c fpga: lattice-sysconfig-spi: Add explicit include for of.h 2023-04-06 20:36:27 +02:00
lattice-sysconfig.c
lattice-sysconfig.h
machxo2-spi.c
Makefile fpga: xilinx-selectmap: add new driver 2024-03-31 22:44:21 +08:00
microchip-spi.c fpga: Explicitly include correct DT includes 2023-07-17 09:23:04 +08:00
of-fpga-region.c fpga: of-fpga-region: Convert to platform remove callback returning void 2023-12-21 22:33:04 +08:00
socfpga-a10.c fpga: socfpga-a10: Convert to platform remove callback returning void 2023-12-21 22:33:15 +08:00
socfpga.c fpga: socfpga: Rename 'timeout' variable as 'time_left' 2024-08-14 23:57:07 +08:00
stratix10-soc.c fpga: stratix10-soc: Convert to platform remove callback returning void 2023-12-21 22:33:25 +08:00
ts73xx-fpga.c fpga: fpga-mgr: ts73xx: Convert to devm_platform_ioremap_resource() 2023-07-10 16:52:58 +08:00
versal-fpga.c fpga: versal: Add support for 44-bit DMA operations 2023-10-16 10:32:00 +08:00
xilinx-core.c fpga: xilinx-core: add new gpio names for prog and init 2024-03-31 22:48:13 +08:00
xilinx-core.h fpga: xilinx-spi: extract a common driver core 2024-03-31 22:41:26 +08:00
xilinx-pr-decoupler.c fpga: xilinx-pr-decoupler: Convert to platform remove callback returning void 2023-12-21 22:33:35 +08:00
xilinx-selectmap.c fpga: xilinx-selectmap: add new driver 2024-03-31 22:44:21 +08:00
xilinx-spi.c fpga: xilinx-spi: extract a common driver core 2024-03-31 22:41:26 +08:00
zynq-fpga.c fpga: zynq-fpga: Rename 'timeout' variable as 'time_left' 2024-08-14 23:58:14 +08:00
zynqmp-fpga.c fpga: zynqmp-fpga: Adds status interface 2023-03-09 17:33:19 +01:00