aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2022-11-07 15:42:46 +0200
committerWolfram Sang <[email protected]>2022-11-12 07:38:11 +0100
commitfee61247b7f67a628bb24314b1a3a20d1f1c60f0 (patch)
treeb3667252f9bedcbade08d0644deceeb14844b51c /lib/mpi/mpi-sub-ui.c
parenta92c3388b4ce34ee83f8ea398c1e00676a3dc467 (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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions