diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-08-22 20:58:41 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-09-10 01:36:42 +0300 |
commit | bc07fb417007b323d34651be20b9135480a947dc (patch) | |
tree | 628054a1147b9c3d9149f2060dac54b8b1e80650 /drivers/i2c/busses/i2c-sh_mobile.c | |
parent | fd57a3325a779caf53bebb5e725c9a604c3ecea8 (diff) | |
download | linux-bc07fb417007b323d34651be20b9135480a947dc.tar.xz |
i2c: designware: Remove ->disable() callback
Commit 90312351fd1e ("i2c: designware: MASTER mode as separated driver")
introduced ->disable() callback but there is no real use for it. Both
i2c-designware-master.c and i2c-designware-slave.c set it to the same
i2c_dw_disable() and scope is inside the same kernel module.
That said, replace the callback by explicitly calling the i2c_dw_disable().
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-sh_mobile.c')
0 files changed, 0 insertions, 0 deletions