commit | b9f0f689b1b86f3415c83bb3bace0c0f78ea65b0 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Fri Dec 14 14:33:55 2018 +0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Dec 17 14:32:26 2018 +0000 |
tree | eefa1951d28b5bd7cd6db759e00877353030bc2d | |
parent | a6ce644c4c0563b8f8ae11ed74e0851ac2447b67 [diff] |
phosphor-hwmon: fixing starting occ sensor On P9 the occ device has `:` in path, and it needs to be converted to `--` while starting hwmon service. The commit 2f714db14 accidentally removes the convertion, and cause P9's occ hwmon sensor are not started. This commit fixes the issue by converting `:` to `--` first. Tested: Verify the occ hwmon sensors are started on Romulus Change-Id: Ic9e40066936c86076c38d11353fbb4f8abbebd13 Signed-off-by: Lei YU <mine260309@gmail.com>