get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1855186,
    "url": "http://patchwork.ozlabs.org/api/patches/1855186/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20231025184259.250588-4-andriy.shevchenko@linux.intel.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20231025184259.250588-4-andriy.shevchenko@linux.intel.com>",
    "list_archive_url": null,
    "date": "2023-10-25T18:42:59",
    "name": "[v1,3/3] gpio: mmio: Clean up headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "66ab76e1100c5df4451b154b9d60fe323add9953",
    "submitter": {
        "id": 8583,
        "url": "http://patchwork.ozlabs.org/api/people/8583/?format=api",
        "name": "Andy Shevchenko",
        "email": "andriy.shevchenko@linux.intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20231025184259.250588-4-andriy.shevchenko@linux.intel.com/mbox/",
    "series": [
        {
            "id": 379349,
            "url": "http://patchwork.ozlabs.org/api/series/379349/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=379349",
            "date": "2023-10-25T18:42:58",
            "name": "gpio: mmio: Make driver agnostic",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/379349/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1855186/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1855186/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-gpio-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=BQ+akP4g;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2620:137:e000::1:20; helo=out1.vger.email;\n envelope-from=linux-gpio-owner@vger.kernel.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20])\n\tby legolas.ozlabs.org (Postfix) with ESMTP id 4SFyfz6QVlz23jp\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Oct 2023 05:50:35 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n        id S234033AbjJYSuf (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n        Wed, 25 Oct 2023 14:50:35 -0400",
            "from lindbergh.monkeyblade.net ([23.128.96.19]:46864 \"EHLO\n        lindbergh.monkeyblade.net\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n        with ESMTP id S233950AbjJYSue (ORCPT\n        <rfc822;linux-gpio@vger.kernel.org>); Wed, 25 Oct 2023 14:50:34 -0400",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.10])\n        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDF78111;\n        Wed, 25 Oct 2023 11:50:32 -0700 (PDT)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n  by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Oct 2023 11:50:31 -0700",
            "from black.fi.intel.com ([10.237.72.28])\n  by fmsmga001.fm.intel.com with ESMTP; 25 Oct 2023 11:48:03 -0700",
            "by black.fi.intel.com (Postfix, from userid 1003)\n        id EABB12F3; Wed, 25 Oct 2023 21:43:01 +0300 (EEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n  t=1698259833; x=1729795833;\n  h=from:to:cc:subject:date:message-id:in-reply-to:\n   references:mime-version:content-transfer-encoding;\n  bh=DsRoRBNKoqw/Cc7dTmkqie/fv1TrhPx6ZfTLpdADeQM=;\n  b=BQ+akP4gxHkswTNgcXluntrWQ/4GEekGAf0UhauyDzq+86J+BOZ7f5xx\n   CvN7Kk46z7OwnjKZQt14kzIZedifL+fvv6Xakpdlr1CbmXwIiu5ro+ec0\n   ZVhdPFO0L2tSlczybu9WEliKvKM46fHFwyVoOazZg7kicRNeZJHwmI+f5\n   5l5akgILpjSTayBEv7OdbAw465hLDAXUUpQXNzKrR9GyCKAjsUFOy9Olp\n   FendhJZV4N2HBqETUIRoi9QdOqTCU9BX8UhaCH0+M+zfRIbP/A+LMtwwz\n   mJDFOBDZWyoXLvv6rqB8ky5j/V4J8NiP5a4w8EvirplkhovBxXPbAPfiS\n   A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10874\"; a=\"176173\"",
            "E=Sophos;i=\"6.03,250,1694761200\";\n   d=\"scan'208\";a=\"176173\"",
            "E=McAfee;i=\"6600,9927,10874\"; a=\"902642576\"",
            "E=Sophos;i=\"6.03,250,1694761200\";\n   d=\"scan'208\";a=\"902642576\""
        ],
        "X-ExtLoop1": "1",
        "From": "Andy Shevchenko <andriy.shevchenko@linux.intel.com>",
        "To": "Andy Shevchenko <andriy.shevchenko@linux.intel.com>,\n        Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n        linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,\n        linux-acpi@vger.kernel.org",
        "Cc": "Linus Walleij <linus.walleij@linaro.org>,\n        Bartosz Golaszewski <brgl@bgdev.pl>,\n        Andy Shevchenko <andy@kernel.org>,\n        Daniel Scally <djrscally@gmail.com>,\n        Heikki Krogerus <heikki.krogerus@linux.intel.com>,\n        Sakari Ailus <sakari.ailus@linux.intel.com>,\n        \"Rafael J. Wysocki\" <rafael@kernel.org>,\n        Rob Herring <robh+dt@kernel.org>",
        "Subject": "[PATCH v1 3/3] gpio: mmio: Clean up headers",
        "Date": "Wed, 25 Oct 2023 21:42:59 +0300",
        "Message-Id": "<20231025184259.250588-4-andriy.shevchenko@linux.intel.com>",
        "X-Mailer": "git-send-email 2.40.0.1.gaa8946217a0b",
        "In-Reply-To": "<20231025184259.250588-1-andriy.shevchenko@linux.intel.com>",
        "References": "<20231025184259.250588-1-andriy.shevchenko@linux.intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n        DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE\n        autolearn=ham autolearn_force=no version=3.4.6",
        "X-Spam-Checker-Version": "SpamAssassin 3.4.6 (2021-04-09) on\n        lindbergh.monkeyblade.net",
        "Precedence": "bulk",
        "List-ID": "<linux-gpio.vger.kernel.org>",
        "X-Mailing-List": "linux-gpio@vger.kernel.org"
    },
    "content": "There is a few things done:\n- include only the headers we are direct user of\n- add missing headers\n- group generic headers and subsystem headers\n- sort each group alphabetically\n\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\n---\n drivers/gpio/gpio-mmio.c | 28 +++++++++++++---------------\n 1 file changed, 13 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/drivers/gpio/gpio-mmio.c b/drivers/gpio/gpio-mmio.c\nindex 66308b165a0d..71e1af7c2184 100644\n--- a/drivers/gpio/gpio-mmio.c\n+++ b/drivers/gpio/gpio-mmio.c\n@@ -40,24 +40,22 @@ o        `                     ~~~~\\___/~~~~    ` controller in FPGA is ,.`\n  *               `.......````.```\n  */\n \n-#include <linux/init.h>\n-#include <linux/err.h>\n-#include <linux/bug.h>\n-#include <linux/kernel.h>\n-#include <linux/module.h>\n-#include <linux/spinlock.h>\n-#include <linux/compiler.h>\n-#include <linux/types.h>\n-#include <linux/errno.h>\n-#include <linux/log2.h>\n-#include <linux/ioport.h>\n-#include <linux/io.h>\n-#include <linux/gpio/driver.h>\n-#include <linux/slab.h>\n #include <linux/bitops.h>\n+#include <linux/compiler.h>\n+#include <linux/err.h>\n+#include <linux/init.h>\n+#include <linux/io.h>\n+#include <linux/ioport.h>\n+#include <linux/log2.h>\n+#include <linux/mod_devicetable.h>\n+#include <linux/module.h>\n #include <linux/platform_device.h>\n #include <linux/property.h>\n-#include <linux/mod_devicetable.h>\n+#include <linux/slab.h>\n+#include <linux/spinlock.h>\n+#include <linux/types.h>\n+\n+#include <linux/gpio/driver.h>\n \n #include \"gpiolib.h\"\n \n",
    "prefixes": [
        "v1",
        "3/3"
    ]
}