We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7daac5b commit 4a60f58Copy full SHA for 4a60f58
drivers/firmware/raspberrypi.c
@@ -182,16 +182,10 @@ rpi_firmware_print_firmware_revision(struct rpi_firmware *fw)
182
RPI_FIRMWARE_GET_FIRMWARE_REVISION,
183
&packet, sizeof(packet));
184
185
- if (ret == 0) {
186
- struct tm tm;
187
-
188
- time64_to_tm(packet, 0, &tm);
+ if (ret)
+ return;
189
190
- dev_info(fw->cl.dev,
191
- "Attached to firmware from %04ld-%02d-%02d %02d:%02d\n",
192
- tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
193
- tm.tm_hour, tm.tm_min);
194
- }
+ dev_info(fw->cl.dev, "Attached to firmware from %ptT\n", &packet);
195
}
196
197
static void
0 commit comments