]> git.sur5r.net Git - u-boot/blobdiff - drivers/spmi/spmi-uclass.c
dm: core: Add logging of some common errors
[u-boot] / drivers / spmi / spmi-uclass.c
index 6edece23d82bf991d0cf0d484cbd60c2b2142475..ff098731bb2dc8bdbbf4d3e39358f1c5fab8f449 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * SPMI bus uclass driver
  *
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -12,8 +11,6 @@
 #include <spmi/spmi.h>
 #include <linux/ctype.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg)
 {
        const struct dm_spmi_ops *ops = dev_get_driver_ops(dev);