Skip to content

Commit f43d9d9

Browse files
mellanoxbmcdavem330
authored andcommitted
mlxsw: i2c: Modify input parameter name in initialization API
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 <vadimp@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 27758c8 commit f43d9d9

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlxsw

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlxsw/i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ static int mlxsw_i2c_skb_transmit(void *bus_priv, struct sk_buff *skb,
414414
static int
415415
mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core,
416416
const struct mlxsw_config_profile *profile,
417-
struct mlxsw_res *resources)
417+
struct mlxsw_res *res)
418418
{
419419
struct mlxsw_i2c *mlxsw_i2c = bus_priv;
420420

0 commit comments

Comments
 (0)