projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27758c8
)
mlxsw: i2c: Modify input parameter name in initialization API
author
Vadim Pasternak
<
[email protected]
>
Sun, 3 Mar 2019 09:12:14 +0000
(09:12 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 4 Mar 2019 06:23:00 +0000
(22:23 -0800)
Change input parameter name "resource" to "res" in mlxsw_i2c_init() in
order to align it with mlxsw_pci_init().
Signed-off-by: Vadim Pasternak <
[email protected]
>
Acked-by: Jiri Pirko <
[email protected]
>
Signed-off-by: Ido Schimmel <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlxsw/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlxsw/i2c.c
b/drivers/net/ethernet/mellanox/mlxsw/i2c.c
index 68a23b212378e57a6a3f1efbb4fc318a24052be9..eb46e0c747d235a941652ae2a7c620ecb19a3fe0 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlxsw/i2c.c
+++ b/
drivers/net/ethernet/mellanox/mlxsw/i2c.c
@@
-414,7
+414,7
@@
static int mlxsw_i2c_skb_transmit(void *bus_priv, struct sk_buff *skb,
static int
mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core,
const struct mlxsw_config_profile *profile,
- struct mlxsw_res *res
ources
)
+ struct mlxsw_res *res)
{
struct mlxsw_i2c *mlxsw_i2c = bus_priv;