fan_control: Move to using xyz.openbmc_project.Sensors

The org.openbmc.Sensors interface has been replaced with
xyz.openbmc_project.Sensors:
https://github.com/openbmc/docs/blob/master/sensor-architecture.md

Update the fan control app to use the supported sensor interface.
This fan control provides two D-Bus methods that are not used
by any current supported platform, but some platforms still include
this app in their image so update it to serve as a reference.
Also add an empty string as the second argument to the GetObject
method call, otherwise the call fails to find the object.

Tested: Booted Romulus and verified the fan control app started.

Change-Id: I9e576e126a80863f47cab622d0029a389cddb644
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed