get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1946319,
    "url": "http://patchwork.ozlabs.org/api/patches/1946319/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20240611125321.6927-5-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-5-tzimmermann@suse.de>",
    "list_archive_url": null,
    "date": "2024-06-11T12:41:59",
    "name": "[04/17] backlight: corgi-lcd: Use backlight power constants",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "fd70450c2be67078a4f091b2280af9e53f970eff",
    "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-5-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/1946319/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1946319/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pwm+bounces-2417-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 (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=GSRUM8Fo;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=vujDglSB;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=GSRUM8Fo;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=vujDglSB;\n\tdkim-atps=neutral",
            "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-2417-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"GSRUM8Fo\";\n\tdkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"vujDglSB\";\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"GSRUM8Fo\";\n\tdkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"vujDglSB\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=195.135.223.130",
            "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-out1.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 4Vz7rt1XH6z20Py\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 E21DC282D19\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 11 Jun 2024 12:53:32 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id BF77117C7AC;\n\tTue, 11 Jun 2024 12:53:28 +0000 (UTC)",
            "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\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 2F80A1E86F;\n\tTue, 11 Jun 2024 12:53:26 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (unknown [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-out1.suse.de (Postfix) with ESMTPS id 47ACA21A85;\n\tTue, 11 Jun 2024 12:53:25 +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 021DB137DF;\n\tTue, 11 Jun 2024 12:53:24 +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 qEvvOsRIaGbxMgAAD6G6ig\n\t(envelope-from <tzimmermann@suse.de>); Tue, 11 Jun 2024 12:53:24 +0000"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1718110408; cv=none;\n b=b61B82ABfISh7RQ4u6dXx22ETmwPmbzhRy4DKGcpGzNe+IgS61OTuZA604zQReCm7YJkCl2Pyk1mdXPMPMyr3flLLdALApttzK+9auZsNJygO0RACXxMzsPonRgPgM6YgHG1SS3llwqH7udmwwubRqIsyFWyoQeJJe05S+QC9eo=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1718110408; c=relaxed/simple;\n\tbh=H/Db/RGg2JteBdFDur+fY8/zfuqlaQVbsdZvDodj5gE=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=RuaX0ZfcI28lVUEvdON84cJtu4mj5TuJ7ukrrNvyZ5SzbYIpjYtl0i7OBndE17pSR2rRAQcmxPzXct3Yiwxp90DSxtxK1QrpH1rBhEikEJ60bjxjmrH4ylWIxIYpSCLLwb9gCyjhsC4IK4aQqOED3cMACzDR//et2FWYPuRQhs8=",
        "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;\n dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=GSRUM8Fo;\n dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=vujDglSB;\n dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=GSRUM8Fo;\n dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=vujDglSB; arc=none smtp.client-ip=195.135.223.130",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n\tt=1718110405;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=AY62X9S0/yPV0+VskPf5UGNtp3wqnp143wsfQN22Z0g=;\n\tb=GSRUM8FoYO3aa71sI+m64V2rV353ggIKeu3FXda7eGUbC9fJ+gkByhuppb6urcPejQApLy\n\tQLrwqJUNb0K+UHs/omB5vCT68MgLiMR+DnOVvadVxIGc6essYPdNNJd0Q6WT5SgMI7hZ0L\n\t3O/vU/CeprERS4ZPIkeV5ujGO2ukJHU=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n\ts=susede2_ed25519; t=1718110405;\n\th=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=AY62X9S0/yPV0+VskPf5UGNtp3wqnp143wsfQN22Z0g=;\n\tb=vujDglSBJ577DjlTUSznJJrRhsc/Fv9vy9u39BAKmcPb9ybhvIUpmzmgzn03CMb6sirP20\n\t4FIZbkTvJJhF7OBA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n\tt=1718110405;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=AY62X9S0/yPV0+VskPf5UGNtp3wqnp143wsfQN22Z0g=;\n\tb=GSRUM8FoYO3aa71sI+m64V2rV353ggIKeu3FXda7eGUbC9fJ+gkByhuppb6urcPejQApLy\n\tQLrwqJUNb0K+UHs/omB5vCT68MgLiMR+DnOVvadVxIGc6essYPdNNJd0Q6WT5SgMI7hZ0L\n\t3O/vU/CeprERS4ZPIkeV5ujGO2ukJHU=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n\ts=susede2_ed25519; t=1718110405;\n\th=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=AY62X9S0/yPV0+VskPf5UGNtp3wqnp143wsfQN22Z0g=;\n\tb=vujDglSBJ577DjlTUSznJJrRhsc/Fv9vy9u39BAKmcPb9ybhvIUpmzmgzn03CMb6sirP20\n\t4FIZbkTvJJhF7OBA=="
        ],
        "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 04/17] backlight: corgi-lcd: Use backlight power constants",
        "Date": "Tue, 11 Jun 2024 14:41:59 +0200",
        "Message-ID": "<20240611125321.6927-5-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-Spam-Flag": "NO",
        "X-Spam-Score": "-6.80",
        "X-Spam-Level": "",
        "X-Spamd-Result": "default: False [-6.80 / 50.00];\n\tREPLY(-4.00)[];\n\tBAYES_HAM(-3.00)[99.99%];\n\tMID_CONTAINS_FROM(1.00)[];\n\tNEURAL_HAM_LONG(-1.00)[-1.000];\n\tR_MISSING_CHARSET(0.50)[];\n\tNEURAL_HAM_SHORT(-0.20)[-1.000];\n\tMIME_GOOD(-0.10)[text/plain];\n\tDBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email,imap1.dmz-prg2.suse.org:helo];\n\tRCVD_VIA_SMTP_AUTH(0.00)[];\n\tFROM_HAS_DN(0.00)[];\n\tARC_NA(0.00)[];\n\tTO_DN_SOME(0.00)[];\n\tMIME_TRACE(0.00)[0:+];\n\tFROM_EQ_ENVFROM(0.00)[];\n\tFREEMAIL_TO(0.00)[kernel.org,linaro.org,gmail.com,gmx.de,asem.it];\n\tRCPT_COUNT_SEVEN(0.00)[11];\n\tRCVD_COUNT_TWO(0.00)[2];\n\tTO_MATCH_ENVRCPT_ALL(0.00)[];\n\tRCVD_TLS_ALL(0.00)[];\n\tFUZZY_BLOCKED(0.00)[rspamd.com];\n\tR_RATELIMIT(0.00)[to_ip_from(RLbaz54pzrc9psah3tsaj8ddaq)];\n\tDKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n\tFREEMAIL_ENVRCPT(0.00)[gmail.com,gmx.de]"
    },
    "content": "Replace FB_BLANK_ constants with their counterparts from the\nbacklight subsystem. The values are identical, so there's no\nchange in functionality.\n\nOnly change the driver's backlight device, but leave the LCD\ndevice as-is.\n\nSigned-off-by: Thomas Zimmermann <tzimmermann@suse.de>\n---\n drivers/video/backlight/corgi_lcd.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c\nindex aad1680c9075d..b29ee8579b57e 100644\n--- a/drivers/video/backlight/corgi_lcd.c\n+++ b/drivers/video/backlight/corgi_lcd.c\n@@ -526,7 +526,7 @@ static int corgi_lcd_probe(struct spi_device *spi)\n \t\treturn PTR_ERR(lcd->bl_dev);\n \n \tlcd->bl_dev->props.brightness = pdata->default_intensity;\n-\tlcd->bl_dev->props.power = FB_BLANK_UNBLANK;\n+\tlcd->bl_dev->props.power = BL_CORE_UNBLANK;\n \n \tret = setup_gpio_backlight(lcd, pdata);\n \tif (ret)\n@@ -547,7 +547,7 @@ static void corgi_lcd_remove(struct spi_device *spi)\n {\n \tstruct corgi_lcd *lcd = spi_get_drvdata(spi);\n \n-\tlcd->bl_dev->props.power = FB_BLANK_UNBLANK;\n+\tlcd->bl_dev->props.power = BL_CORE_UNBLANK;\n \tlcd->bl_dev->props.brightness = 0;\n \tbacklight_update_status(lcd->bl_dev);\n \tcorgi_lcd_set_power(lcd->lcd_dev, FB_BLANK_POWERDOWN);\n",
    "prefixes": [
        "04/17"
    ]
}