From 071106ecf68c401173c58808b1cf5f68cc50d390 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 05 Jan 2024 08:39:27 +0000 Subject: [PATCH] change wifi driver to cypress --- kernel/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/kernel/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/kernel/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c index f1eb8b0..0282d4e 100644 --- a/kernel/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c +++ b/kernel/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Texas Instruments * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. */ #include <linux/device.h> @@ -60,7 +52,7 @@ return NULL; } prev = port; - } while (of_node_cmp(port->name, "port") != 0); + } while (!of_node_name_eq(port, "port")); of_node_put(ports); } @@ -83,7 +75,7 @@ if (!ep) return NULL; prev = ep; - } while (of_node_cmp(ep->name, "endpoint") != 0); + } while (!of_node_name_eq(ep, "endpoint")); return ep; } -- Gitblit v1.6.2