OSDN Git Service

i2c: sh_mobile: move type detection upwards
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Dec 2017 21:57:56 +0000 (22:57 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Jan 2018 16:58:39 +0000 (17:58 +0100)
commit9e422131167583092a560c1ac4837a12aa11da96
tree10439db1134fd0ef8e5606fa77b8fc1236ee0f6e
parentf11a04464ae57e8db1bb7634547842b43e36a898
i2c: sh_mobile: move type detection upwards

For refactoring reasons, we will need this information before the setup
callback. Also, simplify the comment to a oneliner.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c