Skip to content
Commit c3518a4e authored by Wolfram Sang's avatar Wolfram Sang
Browse files

i2c: zx2967: always use the same device when printing errors



Let's always use the platform device for dev_* and not sometimes the
adapter device as well. Also fix this checkpatch check:

CHECK: Macro argument 'i2c' may be better as '(i2c)' to avoid precedence issues

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent df40f247
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment