commit | 0e91e841229e9b316d97dd37a0d4c051506d775e | [log] [tgz] |
---|---|---|
author | Kuo-Lang Tseng <kuo-lang.tseng@intel.com> | Tue Jan 17 16:12:20 2017 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Feb 08 19:08:31 2017 +0000 |
tree | bff6bf3983b3638f3598fc02a4d0e30df29d81d9 | |
parent | 8bf14d380b764c0b78c2b1f9e51e84b2d6d6c3d4 [diff] |
drivers: QMSI PWM: simplify driver reentrancy code using IS_ENABLED macro This is one the series patches that simplifies the driver code by using the IS_ENABLED macro. This removes the need of the const variable and the wrapper functions on semaphore APIs. Jira: ZEP-1251 Change-Id: Ic2df5d04966d2a066478ca3e119f76d24fc4dfb3 Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>