diff options
author | Raag Jadav <raag.jadav@intel.com> | 2023-06-15 18:20:22 +0530 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-06-15 18:27:53 +0300 |
commit | d1bfdf867d5064b8aa1b5436882080a2e7945cfb (patch) | |
tree | 875c8c726913206fd05b11e424384d745730bb8b /lib/crypto/mpi/mpi-mod.c | |
parent | e95433c367e681dc6d4613706bd74f483a25acd8 (diff) |
pinctrl: intel: refine ->irq_set_type() hook
Refine ->irq_set_type() hook and improve its readability by:
- Reducing scope of spinlock by moving unneeded operations out of it.
- Dropping redundant PADCFG0_RXEVCFG_SHIFT and including it directly
into PADCFG0_RXEVCFG_* definitions.
- Utilizing temporary variables for common operations.
- Simplifying if-else-if chain.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions