diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-07-09 07:34:59 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-07-14 16:07:03 +0300 |
commit | d3b11d8380d05e3121e2694af0dd95e7f63399bd (patch) | |
tree | e1ac11c768a9727d4296e5b753d09440922f63b4 /lib/mpi/mpiutil.c | |
parent | ce0dffafd403e7824ae78a806d08c04ff8112e79 (diff) | |
download | linux-d3b11d8380d05e3121e2694af0dd95e7f63399bd.tar.xz |
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions