diff options
author | Khalil Blaiech <kblaiech@nvidia.com> | 2020-11-03 14:54:40 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-11-06 15:51:57 +0100 |
commit | 4b19d806ac5272bb9f64d78ca6832867870eb45d (patch) | |
tree | 237f17e1b9630fffbb2ffb65efce47289defa447 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 08e019e27a9ed0d6c410176cab4e029e3d233cb8 (diff) |
i2c: mlxbf: Remove unecessary wrapper functions
Few wrapper functions are useless and can be inlined. So
delete mlxbf_i2c_read() and mlxbf_i2c_write() and replace
them with readl() and writel(), respectively. Also delete
mlxbf_i2c_read_data() and mlxbf_i2c_write() and replace
them with ioread32be() and iowrite32be(), respectively.
Fixes: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Khalil Blaiech <kblaiech@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions