.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Generic DVI Connector driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 Texas Instruments |
---|
5 | 6 | * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify it |
---|
8 | | - * under the terms of the GNU General Public License version 2 as published by |
---|
9 | | - * the Free Software Foundation. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #include <linux/i2c.h> |
---|
.. | .. |
---|
254 | 251 | adapter_node = of_parse_phandle(node, "ddc-i2c-bus", 0); |
---|
255 | 252 | if (adapter_node) { |
---|
256 | 253 | adapter = of_get_i2c_adapter_by_node(adapter_node); |
---|
| 254 | + of_node_put(adapter_node); |
---|
257 | 255 | if (adapter == NULL) { |
---|
258 | 256 | dev_err(&pdev->dev, "failed to parse ddc-i2c-bus\n"); |
---|
259 | 257 | omap_dss_put_device(ddata->in); |
---|