projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: zynq: Remove all Xilinx private commands
[oweals/u-boot.git]
/
drivers
/
i2c
/
cros_ec_tunnel.c
diff --git
a/drivers/i2c/cros_ec_tunnel.c
b/drivers/i2c/cros_ec_tunnel.c
index 9cf8e7dec0f8861b44f5316e7196ce59e6ecf2ba..a630817352ec2bef91f04860d6331b6e35237e05 100644
(file)
--- a/
drivers/i2c/cros_ec_tunnel.c
+++ b/
drivers/i2c/cros_ec_tunnel.c
@@
-1,8
+1,7
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2015 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
/*
* Copyright (c) 2015 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-34,7
+33,7
@@
static int cros_ec_i2c_ofdata_to_platdata(struct udevice *dev)
{
struct cros_ec_i2c_bus *i2c_bus = dev_get_priv(dev);
const void *blob = gd->fdt_blob;
{
struct cros_ec_i2c_bus *i2c_bus = dev_get_priv(dev);
const void *blob = gd->fdt_blob;
- int node = dev
->of_offset
;
+ int node = dev
_of_offset(dev)
;
i2c_bus->remote_bus = fdtdec_get_uint(blob, node, "google,remote-bus",
0);
i2c_bus->remote_bus = fdtdec_get_uint(blob, node, "google,remote-bus",
0);