Re: [PATCH 1/6] drivers/i2c: Update i2c_trace_msg static key to modern api

From: David Howells
Date: Tue Apr 03 2018 - 10:00:36 EST


Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:

> > No changes in refcount semantics -- key init is false; replace
> >
> > static_key_slow_inc|dec with static_branch_inc|dec
> > static_key_false with static_branch_unlikely
> >
> > Added a '_key' suffix to i2c_trace_msg, for better self
> > documentation.
> >
> > Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> > Cc: linux-i2c@xxxxxxxxxxxxxxx
> > Signed-off-by: Davidlohr Bueso <dbueso@xxxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>