surfaceflinger: silence getDisplayIdentificationData error

Silence

  E HWComposer: getDisplayIdentificationData failed for display 0

on unsupported devices.

Test: no error logged
Change-Id: I5fe26258f12f4e2c7d746de1712f6d4b330fbf00
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 4e98b88..8b7bca7 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -103,7 +103,9 @@
                                               DisplayIdentificationData* outData) const {
     const auto error = mHwcDevice->getDisplayIdentificationData(hwcDisplayId, outPort, outData);
     if (error != HWC2::Error::None) {
-        LOG_HWC_DISPLAY_ERROR(hwcDisplayId, to_string(error).c_str());
+        if (error != HWC2::Error::Unsupported) {
+            LOG_HWC_DISPLAY_ERROR(hwcDisplayId, to_string(error).c_str());
+        }
         return false;
     }
     return true;