commit | 7a1e221733398bf6b24110f5ce35104b80597f01 | [log] [tgz] |
---|---|---|
author | Dirk Brandewie <dirk.j.brandewie@intel.com> | Thu Oct 15 08:23:03 2015 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 05 20:24:31 2016 -0500 |
tree | 397e15e9d138261ec3d804af88fee3d63d020281 | |
parent | ad5af93f2582b160b1f1b66bb6472918cc81ca12 [diff] |
init: add SYS_GET_DEVICE() macro to bury &__initconfig_* names usage. Add a macro to retrieve the device structure for a config structure by name. This avoids the very error prone activity of the developer having to *know* the way the internal object is named. Change-Id: I1d7857d5aad6dfd4b1b46f63b946aad1ae3a6dc4 Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>