mirror of https://github.com/thesofproject/sof.git
clean: fix style warning before big SOF rename
Remove checkpatch warnings before the rename to better track real ones Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
0f71a415ab
commit
a8bab6df81
|
@ -108,7 +108,7 @@ void _trace_event_atomic(uint32_t event);
|
|||
void _trace_event_mbox_atomic(uint32_t event);
|
||||
void trace_flush(void);
|
||||
void trace_off(void);
|
||||
void trace_init(struct reef * reef);
|
||||
void trace_init(struct reef *reef);
|
||||
|
||||
#if TRACE
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ void irq_unregister_child(struct irq_parent *parent, int irq)
|
|||
spin_lock(&parent->lock);
|
||||
|
||||
/* does child already exist ? */
|
||||
if (parent->child[REEF_IRQ_BIT(irq)] == NULL)
|
||||
if (!parent->child[REEF_IRQ_BIT(irq)])
|
||||
goto finish;
|
||||
|
||||
/* free child */
|
||||
|
@ -107,7 +107,7 @@ uint32_t irq_enable_child(struct irq_parent *parent, int irq)
|
|||
|
||||
spin_lock(&parent->lock);
|
||||
|
||||
child =parent->child[REEF_IRQ_BIT(irq)];
|
||||
child = parent->child[REEF_IRQ_BIT(irq)];
|
||||
|
||||
/* already enabled ? */
|
||||
if (child->enabled)
|
||||
|
@ -134,7 +134,7 @@ uint32_t irq_disable_child(struct irq_parent *parent, int irq)
|
|||
|
||||
spin_lock(&parent->lock);
|
||||
|
||||
child =parent->child[REEF_IRQ_BIT(irq)];
|
||||
child = parent->child[REEF_IRQ_BIT(irq)];
|
||||
|
||||
/* already disabled ? */
|
||||
if (!child->enabled)
|
||||
|
|
Loading…
Reference in New Issue