commit | c3518a4ed8753a88b0dee614a64ffadd5f67386b | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Fri Jun 23 21:05:30 2017 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Jun 27 23:21:00 2017 +0200 |
tree | 3b731df509072d3da71c198c69228fb218699322 | |
parent | df40f247750cc6427216b3be2c0eebfd51a5c155 [diff] |
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: Wolfram Sang <wsa@the-dreams.de> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>