diff options
| author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-08-25 09:47:58 -0400 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-08-31 08:42:35 -0400 |
| commit | 431d26a58b89b88492a0dc5c87d3d9e8de49ade1 (patch) | |
| tree | bc9d163b87b476e82c58538c4bf5b03b1254af27 /mainloop.cpp | |
| parent | 4e24ebd64f61ef0712b5b54a62af1db5841f7d83 (diff) | |
| download | phosphor-hwmon-431d26a58b89b88492a0dc5c87d3d9e8de49ade1.tar.gz phosphor-hwmon-431d26a58b89b88492a0dc5c87d3d9e8de49ade1.zip | |
sysfs: refactor findCallout
- Export findCalloutPath so other modules can use it.
- Change parameter to hwmon instance path to avoid
fs::canonical outside sysfs.cpp.
- Check for the iio-hwmon driver instead of relying on
DT nodes having 'iio-hwmon' in them.
- For iio devices, provide a /sys/devices path rather
than a DT path.
- Use existing application indenting and doxygen style.
Change-Id: I16c2dc7417eb68f7cbef44243f481df8040ec1fd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'mainloop.cpp')
0 files changed, 0 insertions, 0 deletions

