OSDN Git Service

mlxsw: i2c: Extend input parameters list of command API
authorVadim Pasternak <vadimp@mellanox.com>
Sun, 3 Mar 2019 09:12:15 +0000 (09:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 06:23:00 +0000 (22:23 -0800)
commit95b75cbd1bc57ec5898517a3fb2f7621f16b26cd
tree953e415a2b39d8e3104ddb1351df293b5348fef0
parentf43d9d9b4eb869b1c1513ce8b931389b64b92db1
mlxsw: i2c: Extend input parameters list of command API

Extend input parameters list of command API in mlxsw_i2c_cmd() in order
to support initialization commands. Up until now, only access commands
were supported by I2C driver.

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>
drivers/net/ethernet/mellanox/mlxsw/i2c.c