Home
last modified time | relevance | path

Searched hist:f4bf63ad (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-hwmon/
H A Dsysfs.hppf4bf63ad Mon Aug 28 14:39:19 CDT 2017 Brad Bishop <bradleyb@fuzziesquirrel.com> sysfs: refactor findPhandleMatch

- Use same indenting style as the rest of the application.
- Invert branch logic to reduce indent levels.
- Move logic that does not depend on loop variants outside loop.
- Fix a bug where the io-channels phandle is read from the wrong file.
- Remove unnecessary try/catch block around DT IOs (DT is immutable).
- Export findPhandle so other modules can use it.
- Document current method limitations.

Change-Id: I34c1c6731a5e2334075b2d25c6583143c2997207
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
H A Dsysfs.cppf4bf63ad Mon Aug 28 14:39:19 CDT 2017 Brad Bishop <bradleyb@fuzziesquirrel.com> sysfs: refactor findPhandleMatch

- Use same indenting style as the rest of the application.
- Invert branch logic to reduce indent levels.
- Move logic that does not depend on loop variants outside loop.
- Fix a bug where the io-channels phandle is read from the wrong file.
- Remove unnecessary try/catch block around DT IOs (DT is immutable).
- Export findPhandle so other modules can use it.
- Document current method limitations.

Change-Id: I34c1c6731a5e2334075b2d25c6583143c2997207
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>