get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/1946321/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1946321,
    "url": "http://patchwork.ozlabs.org/api/patches/1946321/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20240611125321.6927-11-tzimmermann@suse.de/",
    "project": {
        "id": 38,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20240611125321.6927-11-tzimmermann@suse.de>",
    "list_archive_url": null,
    "date": "2024-06-11T12:42:05",
    "name": "[10/17] backlight: led-backlight: Use backlight power constants",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "600bd5f44af0cfc35eaa535c73d2e676f04db9c0",
    "submitter": {
        "id": 74535,
        "url": "http://patchwork.ozlabs.org/api/people/74535/?format=api",
        "name": "Thomas Zimmermann",
        "email": "tzimmermann@suse.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20240611125321.6927-11-tzimmermann@suse.de/mbox/",
    "series": [
        {
            "id": 410380,
            "url": "http://patchwork.ozlabs.org/api/series/410380/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/list/?series=410380",
            "date": "2024-06-11T12:41:57",
            "name": "backlight: Introduce power-state constants",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/410380/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1946321/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1946321/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pwm+bounces-2418-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 spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=139.178.88.99; helo=sv.mirrors.kernel.org;\n envelope-from=linux-pwm+bounces-2418-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=195.135.223.131",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=suse.de",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=suse.de",
            "smtp-out2.suse.de;\n\tnone"
        ],
        "Received": [
            "from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4Vz7rt5WPnz20Vv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 11 Jun 2024 22:53:34 +1000 (AEST)",
            "from smtp.subspace.kernel.org (wormhole.subspace.kernel.org\n [52.25.139.140])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby sv.mirrors.kernel.org (Postfix) with ESMTPS id 87E5B281FEC\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 11 Jun 2024 12:53:33 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 431C917C7BD;\n\tTue, 11 Jun 2024 12:53:30 +0000 (UTC)",
            "from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131])\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 BB1BE17C7A9;\n\tTue, 11 Jun 2024 12:53:28 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby smtp-out2.suse.de (Postfix) with ESMTPS id 31EE220700;\n\tTue, 11 Jun 2024 12:53:27 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id D6474137DF;\n\tTue, 11 Jun 2024 12:53:26 +0000 (UTC)",
            "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n\tby imap1.dmz-prg2.suse.org with ESMTPSA\n\tid aJIOM8ZIaGbxMgAAD6G6ig\n\t(envelope-from <tzimmermann@suse.de>); Tue, 11 Jun 2024 12:53:26 +0000"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1718110410; cv=none;\n b=gZi4Pv1ioX2M+P5Qab7CFlPOqvrooUhq34KuLm17SkHuunoRrNrua/HcFyDpUXQ1flbDvYpsh96SaUu2XrUG0e+qRdiifLu1dm+kQU95gV+tFWVhFk6ISkzNksF1voy5O+E4coGBPaCTkW/cbqjMNyDnSik29wXtRIGSO9kVwzY=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1718110410; c=relaxed/simple;\n\tbh=OQr45LA8hl+kdobZurv8oZvqH/iWGtMr2La4DMfo5ac=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=D80xbW+fhKE5qD78d4RZchr3/4+SWeHPzrALG1aKOnwcme/6IPIvxml3Zbem9f7i6O30CbY8Ho9gCrw+8X+F6mCsU8u2DhtL+XkGP0R5UE7OdfNcWrAtT6auE2Ss78aAM6I8LehWyTmkWCYA81rW557YhjpKVgZjb248ZJuHOSA=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=suse.de;\n spf=pass smtp.mailfrom=suse.de; arc=none smtp.client-ip=195.135.223.131",
        "From": "Thomas Zimmermann <tzimmermann@suse.de>",
        "To": "lee@kernel.org,\n\tdaniel.thompson@linaro.org,\n\tjingoohan1@gmail.com,\n\tdeller@gmx.de,\n\tlinus.walleij@linaro.org,\n\tf.suligoi@asem.it,\n\tukleinek@kernel.org",
        "Cc": "dri-devel@lists.freedesktop.org,\n\tlinux-fbdev@vger.kernel.org,\n\tlinux-pwm@vger.kernel.org,\n\tThomas Zimmermann <tzimmermann@suse.de>",
        "Subject": "[PATCH 10/17] backlight: led-backlight: Use backlight power constants",
        "Date": "Tue, 11 Jun 2024 14:42:05 +0200",
        "Message-ID": "<20240611125321.6927-11-tzimmermann@suse.de>",
        "X-Mailer": "git-send-email 2.45.2",
        "In-Reply-To": "<20240611125321.6927-1-tzimmermann@suse.de>",
        "References": "<20240611125321.6927-1-tzimmermann@suse.de>",
        "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",
        "X-Rspamd-Pre-Result": [
            "action=no action;\n\tmodule=replies;\n\tMessage is reply to one we originated",
            "action=no action;\n\tmodule=replies;\n\tMessage is reply to one we originated"
        ],
        "X-Spamd-Result": "default: False [-4.00 / 50.00];\n\tREPLY(-4.00)[]",
        "X-Rspamd-Server": "rspamd2.dmz-prg2.suse.org",
        "X-Rspamd-Queue-Id": "31EE220700",
        "X-Spam-Flag": "NO",
        "X-Spam-Score": "-4.00",
        "X-Spam-Level": "",
        "X-Rspamd-Action": "no action"
    },
    "content": "Replace FB_BLANK_ constants with their counterparts from the\nbacklight subsystem. The values are identical, so there's no\nchange in functionality.\n\nSigned-off-by: Thomas Zimmermann <tzimmermann@suse.de>\n---\n drivers/video/backlight/led_bl.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/video/backlight/led_bl.c b/drivers/video/backlight/led_bl.c\nindex 032f8bddf8721..5c8db81600902 100644\n--- a/drivers/video/backlight/led_bl.c\n+++ b/drivers/video/backlight/led_bl.c\n@@ -200,8 +200,8 @@ static int led_bl_probe(struct platform_device *pdev)\n \tprops.type = BACKLIGHT_RAW;\n \tprops.max_brightness = priv->max_brightness;\n \tprops.brightness = priv->default_brightness;\n-\tprops.power = (priv->default_brightness > 0) ? FB_BLANK_POWERDOWN :\n-\t\t      FB_BLANK_UNBLANK;\n+\tprops.power = (priv->default_brightness > 0) ? BL_CORE_POWERDOWN :\n+\t\t      BL_CORE_UNBLANK;\n \tpriv->bl_dev = backlight_device_register(dev_name(&pdev->dev),\n \t\t\t&pdev->dev, priv, &led_bl_ops, &props);\n \tif (IS_ERR(priv->bl_dev)) {\n",
    "prefixes": [
        "10/17"
    ]
}