mmc: ca_dw_mmc: Misc cleanup of driver
[oweals/u-boot.git] / drivers / gpio / tegra186_gpio.c
index deb59e8b32024842fdb860ec40952766395f5b95..6626b5415a389d97176032e29f92e7bb1dafbd7d 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2010-2016, NVIDIA CORPORATION.
  * (based on tegra_gpio.c)
- *
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #include <common.h>
@@ -17,8 +16,6 @@
 #include <dt-bindings/gpio/gpio.h>
 #include "tegra186_gpio_priv.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct tegra186_gpio_port_data {
        const char *name;
        uint32_t offset;
@@ -284,5 +281,4 @@ U_BOOT_DRIVER(tegra186_gpio) = {
        .bind = tegra186_gpio_bind,
        .probe = tegra186_gpio_probe,
        .ops = &tegra186_gpio_ops,
-       .flags = DM_FLAG_PRE_RELOC,
 };