Merge tag 'pci-v5.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[platform/kernel/linux-starfive.git] / drivers / firmware / raspberrypi.c
index a166ad0..ef80988 100644 (file)
@@ -186,16 +186,10 @@ rpi_firmware_print_firmware_revision(struct rpi_firmware *fw)
                                        RPI_FIRMWARE_GET_FIRMWARE_REVISION,
                                        &packet, sizeof(packet));
 
-       if (ret == 0) {
-               struct tm tm;
-
-               time64_to_tm(packet, 0, &tm);
+       if (ret)
+               return;
 
-               dev_info(fw->cl.dev,
-                        "Attached to firmware from %04ld-%02d-%02d %02d:%02d\n",
-                        tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
-                        tm.tm_hour, tm.tm_min);
-       }
+       dev_info(fw->cl.dev, "Attached to firmware from %ptT\n", &packet);
 }
 
 static void