control: Handle empty profiles for configuration objects

An empty list of profiles for a configuration object should result in
the object being created. The std::any_of function returns false if the
range is empty which would have resulted in the object not being
created where we want it created when there's no profiles defined
restricting the object's usage in fan control.

Change-Id: I4800002294334241e090a0efefc5f71bec752198
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
1 file changed