File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -917,7 +917,6 @@ static int tegra_xusb_load_firmware(struct tegra_xusb *tegra)
917
917
struct xhci_op_regs __iomem * op ;
918
918
unsigned long timeout ;
919
919
time64_t timestamp ;
920
- struct tm time ;
921
920
u64 address ;
922
921
u32 value ;
923
922
int err ;
@@ -1014,11 +1013,8 @@ static int tegra_xusb_load_firmware(struct tegra_xusb *tegra)
1014
1013
}
1015
1014
1016
1015
timestamp = le32_to_cpu (header -> fwimg_created_time );
1017
- time64_to_tm (timestamp , 0 , & time );
1018
1016
1019
- dev_info (dev , "Firmware timestamp: %ld-%02d-%02d %02d:%02d:%02d UTC\n" ,
1020
- time .tm_year + 1900 , time .tm_mon + 1 , time .tm_mday ,
1021
- time .tm_hour , time .tm_min , time .tm_sec );
1017
+ dev_info (dev , "Firmware timestamp: %ptTs UTC\n" , & timestamp );
1022
1018
1023
1019
return 0 ;
1024
1020
}
You can’t perform that action at this time.
0 commit comments