summaryrefslogtreecommitdiff
path: root/drivers/misc/lattice-ecp3-config.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2021-04-25 10:00:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 16:14:45 +0200
commit0733d83905326baef3c25d8bd9a96fdc9eb71b86 (patch)
treebd8d3e3d7992743e35dc40d6dd1ee13eb861d424 /drivers/misc/lattice-ecp3-config.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
firmware: replace HOTPLUG with UEVENT in FW_ACTION defines
With commit 312c004d36ce ("[PATCH] driver core: replace "hotplug" by "uevent"") already in the tree over a decade, update the name of FW_ACTION defines to follow semantics, and reflect what the defines are really meant for, i.e. whether or not generate user space event. Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Link: https://lore.kernel.org/r/20210425020024.28057-1-shawn.guo@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lattice-ecp3-config.c')
-rw-r--r--drivers/misc/lattice-ecp3-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/lattice-ecp3-config.c b/drivers/misc/lattice-ecp3-config.c
index 5eaf74447ca1..0f54730c7ed5 100644
--- a/drivers/misc/lattice-ecp3-config.c
+++ b/drivers/misc/lattice-ecp3-config.c
@@ -198,7 +198,7 @@ static int lattice_ecp3_probe(struct spi_device *spi)
spi_set_drvdata(spi, data);
init_completion(&data->fw_loaded);
- err = request_firmware_nowait(THIS_MODULE, FW_ACTION_HOTPLUG,
+ err = request_firmware_nowait(THIS_MODULE, FW_ACTION_UEVENT,
FIRMWARE_NAME, &spi->dev,
GFP_KERNEL, spi, firmware_load);
if (err) {