fpga: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 8 Nov 2024 16:00:02 +0000 (17:00 +0100)
committerXu Yilun <yilun.xu@linux.intel.com>
Mon, 11 Nov 2024 02:43:21 +0000 (10:43 +0800)
commitdbbd975cc6df04c375f01e19b13ec52e4d2408ba
tree1a965f338791d7169b6931a839ad6491fce7f785
parent9852d85ec9d492ebef56dc5f229416c925758edc
fpga: Switch back to struct platform_driver::remove()

After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/fpga to use .remove(), with
the eventual goal to drop struct platform_driver::remove_new(). As
.remove() and .remove_new() have the same prototypes, conversion is done
by just changing the structure member name in the driver initializer.

A few white space changes are included to make indention consistent.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20241108160002.252517-2-u.kleine-koenig@baylibre.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
13 files changed:
drivers/fpga/altera-fpga2sdram.c
drivers/fpga/altera-freeze-bridge.c
drivers/fpga/altera-hps2fpga.c
drivers/fpga/dfl-afu-main.c
drivers/fpga/dfl-fme-br.c
drivers/fpga/dfl-fme-main.c
drivers/fpga/dfl-fme-region.c
drivers/fpga/intel-m10-bmc-sec-update.c
drivers/fpga/of-fpga-region.c
drivers/fpga/socfpga-a10.c
drivers/fpga/stratix10-soc.c
drivers/fpga/xilinx-pr-decoupler.c
drivers/fpga/zynq-fpga.c