Skip to content
Snippets Groups Projects
Commit 50888b01 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Wolfram Sang
Browse files

i2c: Update i2c_trace_msg static key to modern api


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.

Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Reviewed-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 4a3f7691
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment