common.hpp: inlined getSubPlatformIndex to avoid multiple defs
common.hpp: inlined getSubPlatformIndex to avoid multiple defs

Signed-off-by: Mihai Tudor Panu <a27de6130c5d32f5817bf40bb8b348582f37a8af@intel.com>
Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

jontrulson/mraa,ncrastanaren/mraa,damcclos/mraa,smileboywtu/mraa,allela-roy/mraa,petreeftime/mraa,yongli3/mraa,sergev/mraa,tripzero/mraa,sergev/mraa,mircea/mraa,KurtE/mraa,yongli3/mraa,Hbrinj/mraa,tripzero/mraa,smileboywtu/mraa,andreivasiliu2211/mraa,sergev/mraa,Propanu/mraa,smileboywtu/mraa,ncrastanaren/mraa,arfoll/mraa,ncrastanaren/mraa,allela-roy/mraa,stefan-andritoiu/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa-gpio-chardev,arfoll/mraa,arfoll/mraa,w4ilun/mraa,andreivasiliu2211/mraa,yongli3/mraa,KurtE/mraa,KurtE/mraa,arunlee77/mraa,arunlee77/mraa,ProfFan/mraa,stefan-andritoiu/mraa-gpio-chardev,ProfFan/mraa,arunlee77/mraa,neuroidss/mraa,w4ilun/mraa,whbruce/mraa,Propanu/mraa,neuroidss/mraa,yoyojacky/mraa,stefan-andritoiu/mraa,malikabhi05/mraa,intel-iot-devkit/mraa,w4ilun/mraa,jontrulson/mraa,Pillar1989/mraa,jontrulson/mraa,petreeftime/mraa,alex1818/mraa,stefan-andritoiu/mraa-gpio-chardev,stefan-andritoiu/mraa,ProfFan/mraa,Propanu/mraa,nioinnovation/mraa,jontrulson/mraa,Propanu/mraa,alext-mkrs/mraa,g-vidal/mraa,whbruce/mraa,whbruce/mraa,matt-auld/mraa,ProfFan/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa,intel-iot-devkit/mraa,Propanu/mraa,nioinnovation/mraa,g-vidal/mraa,damcclos/mraa,spitfire88/mraa,petreeftime/mraa,alex1818/mraa,andreivasiliu2211/mraa,spitfire88/mraa,w4ilun/mraa,petreeftime/mraa,Jon-ICS/mraa,mircea/mraa,matt-auld/mraa,arunlee77/mraa,neuroidss/mraa,stefan-andritoiu/mraa-gpio-chardev,Kiritoalex/mraa,alext-mkrs/mraa,Hbrinj/mraa,intel-iot-devkit/mraa,andreivasiliu2211/mraa,arfoll/mraa,mircea/mraa,damcclos/mraa,yongli3/mraa,yongli3/mraa,Jon-ICS/mraa,spitfire88/mraa,Kiritoalex/mraa,sergev/mraa,g-vidal/mraa,KurtE/mraa,anonymouse64/mraa,arfoll/mraa,Hbrinj/mraa,anonymouse64/mraa,KurtE/mraa,alext-mkrs/mraa,jontrulson/mraa,matt-auld/mraa,Hbrinj/mraa,ncrastanaren/mraa,intel-iot-devkit/mraa,malikabhi05/mraa,allela-roy/mraa,alext-mkrs/mraa,nioinnovation/mraa,Pillar1989/mraa,Jon-ICS/mraa,alex1818/mraa,g-vidal/mraa,yoyojacky/mraa,tripzero/mraa,alext-mkrs/mraa,sergev/mraa,ncrastanaren/mraa,yoyojacky/mraa,malikabhi05/mraa,malikabhi05/mraa,Pillar1989/mraa,anonymouse64/mraa,stefan-andritoiu/mraa-gpio-chardev,spitfire88/mraa,malikabhi05/mraa,whbruce/mraa,g-vidal/mraa,Kiritoalex/mraa