Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2225061/?format=api
{ "id": 2225061, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2225061/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20260420104332.153640-4-biju.das.jz@bp.renesas.com/", "project": { "id": 38, "url": "http://patchwork.ozlabs.org/api/1.1/projects/38/?format=api", "name": "Linux PWM development", "link_name": "linux-pwm", "list_id": "linux-pwm.vger.kernel.org", "list_email": "linux-pwm@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260420104332.153640-4-biju.das.jz@bp.renesas.com>", "date": "2026-04-20T10:43:20", "name": "[v5,3/9] pwm: rzg2l-gpt: Drop unused rzg2l_gpt_chip parameter from rzg2l_gpt_calculate_prescale()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "17b693b0b9b0e084636cdafeb79d41d655236231", "submitter": { "id": 87968, "url": "http://patchwork.ozlabs.org/api/1.1/people/87968/?format=api", "name": "Biju", "email": "biju.das.au@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20260420104332.153640-4-biju.das.jz@bp.renesas.com/mbox/", "series": [ { "id": 500593, "url": "http://patchwork.ozlabs.org/api/1.1/series/500593/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/list/?series=500593", "date": "2026-04-20T10:43:17", "name": "Add Renesas RZ/G3E GPT support", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/500593/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2225061/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2225061/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pwm+bounces-8637-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pwm@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=PS9gX5C+;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-pwm+bounces-8637-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"PS9gX5C+\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.128.53", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzhtM2mdfz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 20:43:55 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id CA9343012E6B\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 10:43:49 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 8581439BFFA;\n\tMon, 20 Apr 2026 10:43:41 +0000 (UTC)", "from mail-wm1-f53.google.com (mail-wm1-f53.google.com\n [209.85.128.53])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id DCAEB39B94C\n\tfor <linux-pwm@vger.kernel.org>; Mon, 20 Apr 2026 10:43:39 +0000 (UTC)", "by mail-wm1-f53.google.com with SMTP id\n 5b1f17b1804b1-488b0e1b870so44455665e9.2\n for <linux-pwm@vger.kernel.org>; Mon, 20 Apr 2026 03:43:39 -0700 (PDT)", "from localhost.localdomain\n ([2a00:23c4:a758:8a01:5f3e:f914:6f8c:72c3])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4c221cdsm28038301f8f.0.2026.04.20.03.43.37\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 20 Apr 2026 03:43:37 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776681821; cv=none;\n b=lrEoroma3zFlxUbp6YyanPT6cblHaT/adxWARBIa4cZLqrckqtBpOX3kBlimpwcSViwjLDo8pfCHvDNdYUzLlLYSbzjR52PGrZEM2sPCnLBPuZguOqYPDzrKsnCpHJ/UwtdmKTSswPgojQ6ceEbUEhZM7EbjgI21jYm5CvrnnXc=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776681821; c=relaxed/simple;\n\tbh=2aEt/uAkd6FnonntTQK2OKrXN9HmT8hxFDkSCFrA00I=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=fF+sodjcj/bPnTGPYC1Mh6iioMuzrUQdx6A2Pq1UYawrcqDiA6kFJy3TZfMiBvGuH9J8iS63lGZge7ORP37t1gFQQ0gOyWA4pzQuebm+f5qHDH3TetoGljeUf7VmZf19bSITR0vvN1crxNZ+VU4BUfRnMHtSFdJpFXlhLfIRuoc=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=PS9gX5C+; arc=none smtp.client-ip=209.85.128.53", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776681818; x=1777286618;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=VE92/ZrBwPqbca7eJ2htSzW/89KuFYZSCYN2VEEIChk=;\n b=PS9gX5C+3CFCYF4tpLhmPkBbpONxdwqOmSNZWquzr/Fg2vq5AJCYdbL6+t5Plo7Yrf\n ZfCWDz3cnLppacJZSaCVyumVcU9pwx1zcXJnetWn+AmGRvdcw8yBgdik+0TQk7YWfS77\n P3MI7XWJGam+6QletyPnHznkBvvSANowXI/5zwqF1/ZxCXTQIhbZdDqFHlcOd9B9LlIU\n q9gvi2z5RhIWAdOXY/ZotbmosQ3sataxo+ULkzP5pijqf/+7of/344zUf2YUhTcLqgaS\n wBLdgjQje6ZyzA2hJrV0Fd3rYycZoO7ZgVIfrEEMXFtAsCnIjXsP9KEPRhzlbf49Yo9J\n ylJg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776681818; x=1777286618;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=VE92/ZrBwPqbca7eJ2htSzW/89KuFYZSCYN2VEEIChk=;\n b=f3hIzmmFTYpHPiVnB1/AOlIc/N3etCUW4Vu4JoSFYzYZxmS720tcoT5BkfYT942Rv7\n WQdh19kVjX801/vKpe8MHVZr8Y3gep9Xp5NVuB9qEm1ErrlXKw+LKCqBEebha0rpkeGu\n E6KQCpyUy17f62pNHEsbHm9LdmKg8YXAr8ShViH8Y1HBG/vKkz8eXgR+nVTvqb3rgYwn\n PyZ8Op87qA8OgfwoZTPgJLpUdmwJW0FRSsKdvhKq/h5fTZ4TAZlpx7LzQvlDM7Gf//k1\n cJBmqQOKS7udY6h6j5iHIBoeWVcWEqMJqfQcETXNSbhNJV6wWxNPWRURcsgCP9GmCqHO\n E8Ag==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ/qMaiI65+ezffr76KPd2Snn+aHbBtLqJ2hnd6p7V/N1CiWw+Tv0rkEXjRTAIO3v/HUGiciuH1QZNI=@vger.kernel.org", "X-Gm-Message-State": "AOJu0Yxbv/I6dlLLNvpm1tiq1NEr1rZ/jPG+rh419ltgDdbXFFuWN+5Y\n\tDC4pqMuNEOCigGxwo0hTR/O+rBhTjiqjL7lAfGmXj8t/N3mrzqa5i415", "X-Gm-Gg": "AeBDiesr7RH7Aamx/NIovgUUCC3NIKv9XFtJwr3+kZ8Tf1rjiaWY/hfikA84MirzvUh\n\tO/8oDfUySLaJzvAsYTUhntNZmt+mYGiWKH13L6GaOQy/KbWWQg7PgMcmmRP7OUJ691bKTyoXpzH\n\tX/aO0BPuNJ91i/5QQeV9BNcQzDeS4L1Z+U0w6PuXJSs+HB3ghwTbRwY/WEVVZ/wCKt6jE2+Subw\n\t8xV/rZvm3S6a57yY6Grmn3vPDyaym4KZ+GI48rAY6rYqs9WZf02Uk8gmnFg9kStzbvGgv3AVw9v\n\t2ekrWsRyJy1iT2fJaTQ+MBFRQtZeuqkuywlDyp942cduLyVzdMRraniy2JnzicnYV/r35HVVtFQ\n\tPKLIwwoohjf4UdB8v20lavF5qv1xwTx6xq0ZHVWu71wvFPBe9FE2sQP21AxUXaI3g+Zp7pPfYcf\n\tJS4oiDh+uBJU1C9BKFf0e1P7H9AUThaBMZl+jUnhNdpwL5pdbMu/QeKE63usMVi+AbxW1cDQ==", "X-Received": "by 2002:a05:600c:620d:b0:489:1d23:4524 with SMTP id\n 5b1f17b1804b1-4891d23468bmr39960955e9.5.1776681818169;\n Mon, 20 Apr 2026 03:43:38 -0700 (PDT)", "From": "Biju <biju.das.au@gmail.com>", "X-Google-Original-From": "Biju <biju.das.jz@bp.renesas.com>", "To": "=?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <ukleinek@kernel.org>", "Cc": "Biju Das <biju.das.jz@bp.renesas.com>,\n\tlinux-pwm@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tGeert Uytterhoeven <geert+renesas@glider.be>,\n\tPrabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>,\n\tBiju Das <biju.das.au@gmail.com>,\n\tlinux-renesas-soc@vger.kernel.org", "Subject": "[PATCH v5 3/9] pwm: rzg2l-gpt: Drop unused rzg2l_gpt_chip parameter\n from rzg2l_gpt_calculate_prescale()", "Date": "Mon, 20 Apr 2026 11:43:20 +0100", "Message-ID": "<20260420104332.153640-4-biju.das.jz@bp.renesas.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260420104332.153640-1-biju.das.jz@bp.renesas.com>", "References": "<20260420104332.153640-1-biju.das.jz@bp.renesas.com>", "Precedence": "bulk", "X-Mailing-List": "linux-pwm@vger.kernel.org", "List-Id": "<linux-pwm.vger.kernel.org>", "List-Subscribe": "<mailto:linux-pwm+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-pwm+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "From: Biju Das <biju.das.jz@bp.renesas.com>\n\nThe rzg2l_gpt parameter was passed to rzg2l_gpt_calculate_prescale() but\nnever used inside the function. Remove it and update the sole call site\naccordingly.\n\nSigned-off-by: Biju Das <biju.das.jz@bp.renesas.com>\n---\nv5:\n * New patch.\n---\n drivers/pwm/pwm-rzg2l-gpt.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/pwm/pwm-rzg2l-gpt.c b/drivers/pwm/pwm-rzg2l-gpt.c\nindex 71ae2f891fd2..659044fa3d2f 100644\n--- a/drivers/pwm/pwm-rzg2l-gpt.c\n+++ b/drivers/pwm/pwm-rzg2l-gpt.c\n@@ -132,8 +132,7 @@ static void rzg2l_gpt_modify(struct rzg2l_gpt_chip *rzg2l_gpt, u32 reg, u32 clr,\n \t\t\t(rzg2l_gpt_read(rzg2l_gpt, reg) & ~clr) | set);\n }\n \n-static u8 rzg2l_gpt_calculate_prescale(struct rzg2l_gpt_chip *rzg2l_gpt,\n-\t\t\t\t u64 period_ticks)\n+static u8 rzg2l_gpt_calculate_prescale(u64 period_ticks)\n {\n \tu32 prescaled_period_ticks;\n \tu8 prescale;\n@@ -300,7 +299,7 @@ static int rzg2l_gpt_config(struct pwm_chip *chip, struct pwm_device *pwm,\n \t\t}\n \t}\n \n-\tprescale = rzg2l_gpt_calculate_prescale(rzg2l_gpt, period_ticks);\n+\tprescale = rzg2l_gpt_calculate_prescale(period_ticks);\n \tpv = rzg2l_gpt_calculate_pv_or_dc(period_ticks, prescale);\n \n \tduty_ticks = mul_u64_u64_div_u64(state->duty_cycle, rzg2l_gpt->rate_khz, USEC_PER_SEC);\n", "prefixes": [ "v5", "3/9" ] }