tests: ipm: fix code style

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-06-16 22:01:47 -04:00 committed by Kumar Gala
commit 73195eb196
3 changed files with 16 additions and 15 deletions

View file

@ -29,8 +29,9 @@ static void ipm_dummy_isr(void *data)
/* In a real driver the interrupt simply wouldn't fire, we fake /* In a real driver the interrupt simply wouldn't fire, we fake
* that here * that here
*/ */
if (!driver_data->regs.enabled || !driver_data->regs.busy) if (!driver_data->regs.enabled || !driver_data->regs.busy) {
return; return;
}
if (driver_data->cb) { if (driver_data->cb) {
driver_data->cb(driver_data->cb_context, driver_data->regs.id, driver_data->cb(driver_data->cb_context, driver_data->regs.id,