tests: ipm: fix code style
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b778ec3604
commit
73195eb196
3 changed files with 16 additions and 15 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue