Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808713/?format=api
{ "id": 808713, "url": "http://patchwork.ozlabs.org/api/patches/808713/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20170901145343.19890-3-thierry.reding@gmail.com/", "project": { "id": 21, "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api", "name": "Linux Tegra Development", "link_name": "linux-tegra", "list_id": "linux-tegra.vger.kernel.org", "list_email": "linux-tegra@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170901145343.19890-3-thierry.reding@gmail.com>", "list_archive_url": null, "date": "2017-09-01T14:53:42", "name": "[3/4] clk: tegra: Use tegra_clk_register_periph_data()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "4144f0807532aa37470dec06ff0b0e9488a69a2d", "submitter": { "id": 26234, "url": "http://patchwork.ozlabs.org/api/people/26234/?format=api", "name": "Thierry Reding", "email": "thierry.reding@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20170901145343.19890-3-thierry.reding@gmail.com/mbox/", "series": [ { "id": 1041, "url": "http://patchwork.ozlabs.org/api/series/1041/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=1041", "date": "2017-09-01T14:53:40", "name": "[1/4] dt-bindings: clock: tegra: Add sor1_out clock", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1041/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808713/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808713/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-tegra-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-tegra-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Y9zDYFS1\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xkMgz0F52z9t2Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 2 Sep 2017 00:53:51 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752185AbdIAOxu (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tFri, 1 Sep 2017 10:53:50 -0400", "from mail-wr0-f194.google.com ([209.85.128.194]:37992 \"EHLO\n\tmail-wr0-f194.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752103AbdIAOxt (ORCPT\n\t<rfc822; linux-tegra@vger.kernel.org>); Fri, 1 Sep 2017 10:53:49 -0400", "by mail-wr0-f194.google.com with SMTP id j3so207792wrb.5;\n\tFri, 01 Sep 2017 07:53:49 -0700 (PDT)", "from localhost\n\t(p200300E41BD6D60076D02BFFFE273F51.dip0.t-ipconnect.de.\n\t[2003:e4:1bd6:d600:76d0:2bff:fe27:3f51])\n\tby smtp.gmail.com with ESMTPSA id\n\to2sm211114wmg.32.2017.09.01.07.53.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 01 Sep 2017 07:53:47 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=bG1n/DXxoL+9/7ucxDkdrDC4mHYZ6hDbTkZgIY94dGo=;\n\tb=Y9zDYFS1I3mcjaKF4zrNHav+t5a7PlBKzqkK5FnfrvTPBOCdNx0r30ZdwoldnRQWLY\n\tO4KGsESQmx3ibli0Gk6vTCSrotRT7vyZQEapwNQMivCBWXZiiS260GUfvrCSnpsJPezk\n\tgwcsTcnTEPsBqM2EDrTiqhGUYUN9q/QV1+DS4eNc0jfZ5X1CALdsUty+6E7YxWWg9hda\n\ttb57ik6tSa8llzTwhrmVsZJFMplUo4WxmXn8+XkmSFTiYJiUlCcD8Xfk1jCD4b9Htejq\n\tWYq2Y3XqVfv7SEbAiRNeFBRMBbo/iMgezsbu26sI334wP4DO6NwV6cmFLP1tT+dCb0+K\n\trHCA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=bG1n/DXxoL+9/7ucxDkdrDC4mHYZ6hDbTkZgIY94dGo=;\n\tb=nKEvljJi5i5VPN6HEU8Wrtbk+sG0bJtRhVnElOIVNP6k4I3PxG5QEbh55OcUVcm7D9\n\tSuzdF7PS4pMoBEYqtqKHZWTYj5kGfE7Tigm4o+Zu2fBqahZN2CRZ6i08K866Rcq9PgB9\n\tPDM2t6oXotsNN4Z3ltZ/IESzNSFqnClX6jIEmBY8EqOeJsb3k0hqILrjQ7zNRTN52E+9\n\tzfuuIpZN0Q881KSoh9vtlnpdOJop52dCPun4cjwrMeIa/UKsJqpGqC/9QUUqvb1guLKi\n\tHdO91350FPdS6rhXfNnqewhvKKH8eXRLIPbgRwMQL9yfXmUiUBUGwcWtuBqW83TrSOwj\n\tKbCA==", "X-Gm-Message-State": "AHPjjUg/6H6JYaJMXfe+4mpVY4VYmSYzYgupt5JS6qNusvZRNu3m+P2D\n\tI2kDNZkSAmDOYUqS", "X-Google-Smtp-Source": "ADKCNb5V9npKtnP3V1MkDALwatNavprep490bjgc4zMO37f0O43lDHkh/0HiLNPejKYk/KSH5v0oMw==", "X-Received": "by 10.223.146.166 with SMTP id 35mr1595259wrn.19.1504277628325; \n\tFri, 01 Sep 2017 07:53:48 -0700 (PDT)", "From": "Thierry Reding <thierry.reding@gmail.com>", "To": "Michael Turquette <mturquette@baylibre.com>,\n\tStephen Boyd <sboyd@codeaurora.org>", "Cc": "Peter De Schrijver <pdeschrijver@nvidia.com>,\n\tJonathan Hunter <jonathanh@nvidia.com>,\n\tlinux-clk@vger.kernel.org, linux-tegra@vger.kernel.org", "Subject": "[PATCH 3/4] clk: tegra: Use tegra_clk_register_periph_data()", "Date": "Fri, 1 Sep 2017 16:53:42 +0200", "Message-Id": "<20170901145343.19890-3-thierry.reding@gmail.com>", "X-Mailer": "git-send-email 2.13.3", "In-Reply-To": "<20170901145343.19890-1-thierry.reding@gmail.com>", "References": "<20170901145343.19890-1-thierry.reding@gmail.com>", "Sender": "linux-tegra-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-tegra.vger.kernel.org>", "X-Mailing-List": "linux-tegra@vger.kernel.org" }, "content": "From: Thierry Reding <treding@nvidia.com>\n\nInstead of open-coding the same pattern repeatedly, reuse the newly\nintroduced tegra_clk_register_periph_data() helper that will unpack\nthe initialization structure.\n\nSigned-off-by: Thierry Reding <treding@nvidia.com>\n---\n drivers/clk/tegra/clk-tegra-periph.c | 5 +----\n drivers/clk/tegra/clk-tegra114.c | 4 +---\n drivers/clk/tegra/clk-tegra20.c | 4 +---\n drivers/clk/tegra/clk-tegra30.c | 4 +---\n 4 files changed, 4 insertions(+), 13 deletions(-)", "diff": "diff --git a/drivers/clk/tegra/clk-tegra-periph.c b/drivers/clk/tegra/clk-tegra-periph.c\nindex 848255cc0209..090a5d792341 100644\n--- a/drivers/clk/tegra/clk-tegra-periph.c\n+++ b/drivers/clk/tegra/clk-tegra-periph.c\n@@ -927,10 +927,7 @@ static void __init periph_clk_init(void __iomem *clk_base,\n \t\t\tcontinue;\n \n \t\tdata->periph.gate.regs = bank;\n-\t\tclk = tegra_clk_register_periph(data->name,\n-\t\t\tdata->p.parent_names, data->num_parents,\n-\t\t\t&data->periph, clk_base, data->offset,\n-\t\t\tdata->flags);\n+\t\tclk = tegra_clk_register_periph_data(clk_base, data);\n \t\t*dt_clk = clk;\n \t}\n }\ndiff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c\nindex fd1a99c05c2d..63087d17c3e2 100644\n--- a/drivers/clk/tegra/clk-tegra114.c\n+++ b/drivers/clk/tegra/clk-tegra114.c\n@@ -1092,9 +1092,7 @@ static __init void tegra114_periph_clk_init(void __iomem *clk_base,\n \n \tfor (i = 0; i < ARRAY_SIZE(tegra_periph_clk_list); i++) {\n \t\tdata = &tegra_periph_clk_list[i];\n-\t\tclk = tegra_clk_register_periph(data->name,\n-\t\t\tdata->p.parent_names, data->num_parents,\n-\t\t\t&data->periph, clk_base, data->offset, data->flags);\n+\t\tclk = tegra_clk_register_periph_data(clk_base, data);\n \t\tclks[data->clk_id] = clk;\n \t}\n \ndiff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c\nindex 837e5cbd60e9..2b839cb24436 100644\n--- a/drivers/clk/tegra/clk-tegra20.c\n+++ b/drivers/clk/tegra/clk-tegra20.c\n@@ -850,9 +850,7 @@ static void __init tegra20_periph_clk_init(void)\n \n \tfor (i = 0; i < ARRAY_SIZE(tegra_periph_clk_list); i++) {\n \t\tdata = &tegra_periph_clk_list[i];\n-\t\tclk = tegra_clk_register_periph(data->name, data->p.parent_names,\n-\t\t\t\tdata->num_parents, &data->periph,\n-\t\t\t\tclk_base, data->offset, data->flags);\n+\t\tclk = tegra_clk_register_periph_data(clk_base, data);\n \t\tclks[data->clk_id] = clk;\n \t}\n \ndiff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c\nindex a2d163f759b4..98e8a55e4e1c 100644\n--- a/drivers/clk/tegra/clk-tegra30.c\n+++ b/drivers/clk/tegra/clk-tegra30.c\n@@ -1079,9 +1079,7 @@ static void __init tegra30_periph_clk_init(void)\n \n \tfor (i = 0; i < ARRAY_SIZE(tegra_periph_clk_list); i++) {\n \t\tdata = &tegra_periph_clk_list[i];\n-\t\tclk = tegra_clk_register_periph(data->name, data->p.parent_names,\n-\t\t\t\tdata->num_parents, &data->periph,\n-\t\t\t\tclk_base, data->offset, data->flags);\n+\t\tclk = tegra_clk_register_periph_data(clk_base, data);\n \t\tclks[data->clk_id] = clk;\n \t}\n \n", "prefixes": [ "3/4" ] }