From patchwork Thu Sep 26 10:45:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 174452 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1871489ill; Thu, 26 Sep 2019 03:45:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyd4Aq1xXgP8jCXKHXZEpH+78UKB96fDC5E/5gFdmYPFva4jVYwwICt+DwbivMKm6J8l3kM X-Received: by 2002:a50:9e0a:: with SMTP id z10mr2813836ede.202.1569494722023; Thu, 26 Sep 2019 03:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569494722; cv=none; d=google.com; s=arc-20160816; b=zd8TEOgfMW5FF0qP9I0kLjRGLbiH6X4m3TLtJ96Kt22TJ0/sDC2Rp66fIWkltSIXQ9 wvOkOQOMYRckLYy9o37ED/6G0kQokXgIeDYoYMisuEZ0d1BrJVHpb9qd7o0tef07TBEf 6C2Btlf+7PFNpNRdKs0LOj0ZtB1AKX0WytSjPYBunRiO6WMmzXn8jOSPY7X5fwRrffxE u0zfAMvaRwq1brqzF9d50QzdHrue6fQLfQKChKb0zne61YITuDa0gt7fDWXRCW/cRn9c xzr/aTase0gLwXu1dZbrtV7ReT5zjTsXCBPrNHHX6DWhIP9B4bWbnIRlE0ObFXmHmPJY Z+Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8ZpbwIFfnIeJPCxkSU1C35jGPhlIYupajT7QsiKWxSU=; b=BXoHvUhmd1w5rkGVLhZPcGlDBRMTnUSeZHxpotQQIQif86fz5V+QUf2m+52BNwNEZA ncsav7qhWConH6tyTIh8H/5Qb8wJT/Va0v/aK3cC1knLqI2G/miqrlo3A0OlvTCVkNmb MPXU4slByJjmhzA/pMn+oxXwHA/t/RYSwX2FkWPk/FTUh5lSSAPvSogmONpmEnhHZFGB amlJwKgaRgJ3LOJEaXBg5sckHL9xBGGL+RosTGms3CpCcjF3v7BLbvl0GYmPIZzICvaI hIYu+J5HlbU5BlnlO4TBJNmUdXg7YeVSmBQCfefE7Z54zXZDCXeIubdwpwSFdCpo5Y5I wxHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="xZ/zoK6u"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ca9si1041472edb.79.2019.09.26.03.45.21; Thu, 26 Sep 2019 03:45:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="xZ/zoK6u"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726034AbfIZKpS (ORCPT + 26 others); Thu, 26 Sep 2019 06:45:18 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:53208 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbfIZKpS (ORCPT ); Thu, 26 Sep 2019 06:45:18 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8QAjG1t016292; Thu, 26 Sep 2019 05:45:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569494716; bh=8ZpbwIFfnIeJPCxkSU1C35jGPhlIYupajT7QsiKWxSU=; h=From:To:CC:Subject:Date; b=xZ/zoK6ue5oTJdGlpVg7JJ/D4vkqLVrXl2RpORjzXhGykJ5g7AmzoCOHCCT+1s9jA yuY7t6OFzkApKoLU0fNmd7G1LEALqibXjdZBrLQ1OkXY3vqus1JFuQDlpfco0TEe+B veetjHwCSHAs7vNb2ozT9yE1ryprxoCGaNKUUMf8= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8QAjGLS037943 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Sep 2019 05:45:16 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 26 Sep 2019 05:45:08 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 26 Sep 2019 05:45:08 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8QAjD4w034957; Thu, 26 Sep 2019 05:45:13 -0500 From: Peter Ujfalusi To: , CC: , , , Subject: [PATCH] clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call Date: Thu, 26 Sep 2019 13:45:56 +0300 Message-ID: <20190926104556.28716-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ti_clk_register() calls it already so the driver should not create duplicated alias. Signed-off-by: Peter Ujfalusi --- drivers/clk/ti/clk-dra7-atl.c | 5 ----- 1 file changed, 5 deletions(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c index a01ca9395179..c0e0ee974151 100644 --- a/drivers/clk/ti/clk-dra7-atl.c +++ b/drivers/clk/ti/clk-dra7-atl.c @@ -207,11 +207,6 @@ static void __init of_dra7_atl_clock_setup(struct device_node *node) clk = ti_clk_register(NULL, &clk_hw->hw, node->name); if (!IS_ERR(clk)) { - ret = ti_clk_add_alias(NULL, clk, node->name); - if (ret) { - clk_unregister(clk); - goto cleanup; - } of_clk_add_provider(node, of_clk_src_simple_get, clk); kfree(parent_names); return;