if (fwnode->flags & FWNODE_FLAG_LINKS_ADDED)
                return;
 
-       fwnode_call_int_op(fwnode, add_links, NULL);
+       fwnode_call_int_op(fwnode, add_links);
        fwnode->flags |= FWNODE_FLAG_LINKS_ADDED;
 }
 
 
  * 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;
 
 
        return ret;
 }
 
-static int of_fwnode_add_links(struct fwnode_handle *fwnode,
-                              struct device *dev)
+static int of_fwnode_add_links(struct fwnode_handle *fwnode)
 {
        struct property *p;
        struct device_node *con_np = to_of_node(fwnode);
 
        (*graph_get_port_parent)(struct fwnode_handle *fwnode);
        int (*graph_parse_endpoint)(const struct fwnode_handle *fwnode,
                                    struct fwnode_endpoint *endpoint);
-       int (*add_links)(struct fwnode_handle *fwnode,
-                        struct device *dev);
+       int (*add_links)(struct fwnode_handle *fwnode);
 };
 
 #define fwnode_has_op(fwnode, op)                              \