commit | d3b11d8380d05e3121e2694af0dd95e7f63399bd | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa-dev@sang-engineering.com> | Sat Jul 09 13:34:59 2016 +0900 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Jul 14 22:07:03 2016 +0900 |
tree | e1ac11c768a9727d4296e5b753d09440922f63b4 | |
parent | ce0dffafd403e7824ae78a806d08c04ff8112e79 [diff] |
i2c: cleanup i2c_register_adapter() by refactoring recovery init Move recovery init to a seperate function to let have i2c_register_adapter() less lines and to avoid goto and a label. Refactor string handling there for consistency and to save some bytes. Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>