]> git.sur5r.net Git - u-boot/blobdiff - test/dm/adc.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / test / dm / adc.c
index b0d4fe5b23c0cd3de98955a7318fc3b96c1da74a..13eda3bd231a150891ee48ed89a0def2199e68b1 100644 (file)
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Tests for the driver model ADC API
  *
  * Copyright (c) 2015 Samsung Electronics
  * Przemyslaw Marczak <p.marczak@samsung.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -20,8 +19,6 @@
 #include <sandbox-adc.h>
 #include <test/ut.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static int dm_test_adc_bind(struct unit_test_state *uts)
 {
        struct udevice *dev;