commit | cb10e94799d72991ff34b64ceb3538b5a38549b2 | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Thu Nov 23 16:23:58 2023 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Nov 25 08:51:52 2023 -0500 |
tree | 233bd00078de8b57af91831a15ddda4385e010e3 | |
parent | 36f2627363f4c0f4374a759f587456967815316b [diff] |
drivers: intc: plic: minor code refactor The `riscv_plic_irq_enable` & `riscv_plic_irq_disable` are very similar, refactor them out into `plic_irq_enable_set_state`. Signed-off-by: Yong Cong Sin <ycsin@meta.com>