Fan control: Add getService() utility function

This function returns the service name from the mapper
based on the dbus path and interface passed in.

Eventually, getInvService can be removed and this call
can be used instead.

Change-Id: Ieb090a9b650803e8cfaf2f24143f25a4bbf1cd23
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
3 files changed