]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/pwm_backlight.c
spi: omap3: fix claim/release bus within DM
[u-boot] / drivers / video / pwm_backlight.c
index f40e57bb8e6841aa9ec7718e31c69ea73b4bdc8e..53953179bfbdf93aa4d87ab415661eb4620669a5 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2016 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -12,8 +11,6 @@
 #include <asm/gpio.h>
 #include <power/regulator.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct pwm_backlight_priv {
        struct udevice *reg;
        struct gpio_desc enable;