summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2020-11-21 05:02:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 21:14:48 +0300
commit2d09e6eb4a6f20273959f4905ccf009da8c64c7a (patch)
treeb758156e84f9ef0e00672fee0b455896141287ee /drivers/firmware
parentf9aa460672c9c56896cdc12a521159e3e67000ba (diff)
downloadlinux-2d09e6eb4a6f20273959f4905ccf009da8c64c7a.tar.xz
driver core: Delete pointless parameter in fwnode_operations.add_links
The struct device input to add_links() is not used for anything. So delete it. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20201121020232.908850-18-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/efi/efi-init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firmware/efi/efi-init.c b/drivers/firmware/efi/efi-init.c
index c0c3d4c3837a..a552a08a1741 100644
--- a/drivers/firmware/efi/efi-init.c
+++ b/drivers/firmware/efi/efi-init.c
@@ -316,8 +316,7 @@ static struct device_node *find_pci_overlap_node(void)
* resource reservation conflict on the memory window that the efifb
* framebuffer steals from the PCIe host bridge.
*/
-static int efifb_add_links(struct fwnode_handle *fwnode,
- struct device *dev)
+static int efifb_add_links(struct fwnode_handle *fwnode)
{
struct device_node *sup_np;