diff options
author | Saravana Kannan <saravanak@google.com> | 2020-11-20 18:02:32 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:14:48 +0100 |
commit | 2d09e6eb4a6f20273959f4905ccf009da8c64c7a (patch) | |
tree | b758156e84f9ef0e00672fee0b455896141287ee /include/linux | |
parent | f9aa460672c9c56896cdc12a521159e3e67000ba (diff) | |
download | linux-stable-2d09e6eb4a6f20273959f4905ccf009da8c64c7a.tar.gz linux-stable-2d09e6eb4a6f20273959f4905ccf009da8c64c7a.tar.bz2 linux-stable-2d09e6eb4a6f20273959f4905ccf009da8c64c7a.zip |
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 'include/linux')
-rw-r--r-- | include/linux/fwnode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h index ffa9129182a6..fde4ad97564c 100644 --- a/include/linux/fwnode.h +++ b/include/linux/fwnode.h @@ -127,8 +127,7 @@ struct fwnode_operations { (*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) \ |