commit | 74f7da1bb41ae9e94b95bb44c268e8261c1fc564 | [log] [tgz] |
---|---|---|
author | Kuo-Lang Tseng <kuo-lang.tseng@intel.com> | Tue Jan 17 17:04:53 2017 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Feb 08 19:07:42 2017 +0000 |
tree | 6f02f54985c6ff86ca5a0112944f2b882e37dbdc | |
parent | 164ba8c5cdd9c112b889f5e0d8e2368b77268524 [diff] |
drivers: QMSI SOC flash: simplify driver reentrancy code using IS_ENABLED 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: I59802cf9f482337656b0fdc4b272f3b1ddc6cbda Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>