diff options
| author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2022-11-07 15:42:46 +0200 |
|---|---|---|
| committer | Wolfram Sang <wsa@kernel.org> | 2022-11-12 07:38:11 +0100 |
| commit | fee61247b7f67a628bb24314b1a3a20d1f1c60f0 (patch) | |
| tree | b3667252f9bedcbade08d0644deceeb14844b51c /scripts/generate_rust_analyzer.py | |
| parent | a92c3388b4ce34ee83f8ea398c1e00676a3dc467 (diff) | |
i2c: designware: Remove common i2c_dw_disable_int()
Commit 90312351fd1e ("i2c: designware: MASTER mode as separated driver")
introduced disable_int pointer 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_int() and scope is inside the same kernel module.
Since i2c_dw_disable_int() is just masking interrupts and the direct
DW_IC_INTR_MASK register write looks more clear in the code use that and
remove it from common code.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
