Skip to content

Commit

Permalink
mlxsw: i2c: Modify input parameter name in initialization API
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mellanoxbmc authored and davem330 committed Mar 4, 2019
1 parent 27758c8 commit f43d9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/mellanox/mlxsw/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *resources)
struct mlxsw_res *res)
{
struct mlxsw_i2c *mlxsw_i2c = bus_priv;

Expand Down

0 comments on commit f43d9d9

Please sign in to comment.