dm: core: Allow iterating devices without uclass_get()
[oweals/u-boot.git] / test / dm / timer.c
index bf964c443a054feda2e3220bc6b377126459b16b..9367dab5d5ef7d636422a144e704e3c3042228f1 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -10,8 +9,6 @@
 #include <dm/test.h>
 #include <test/ut.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /*
  * Basic test of the timer uclass.
  */