get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 833341,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/833341/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20171102124731.10484-3-wsa+renesas@sang-engineering.com/",
    "project": {
        "id": 35,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/35/?format=api",
        "name": "Linux I2C development",
        "link_name": "linux-i2c",
        "list_id": "linux-i2c.vger.kernel.org",
        "list_email": "linux-i2c@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20171102124731.10484-3-wsa+renesas@sang-engineering.com>",
    "list_archive_url": null,
    "date": "2017-11-02T12:47:28",
    "name": "[RFT,2/5] i2c: sh_mobile: remove redundant deinitialization",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ea6429d76c7083df5f9f377e3c24b32b37e3daa9",
    "submitter": {
        "id": 69646,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/69646/?format=api",
        "name": "Wolfram Sang",
        "email": "wsa+renesas@sang-engineering.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20171102124731.10484-3-wsa+renesas@sang-engineering.com/mbox/",
    "series": [
        {
            "id": 11496,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/11496/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/list/?series=11496",
            "date": "2017-11-02T12:47:26",
            "name": "i2c: sh_mobile: refactor HW init/deinit",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/11496/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/833341/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/833341/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-i2c-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-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3ySPxx53CNz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  2 Nov 2017 23:47:49 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755224AbdKBMrq (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 2 Nov 2017 08:47:46 -0400",
            "from sauhun.de ([88.99.104.3]:33854 \"EHLO pokefinder.org\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1754804AbdKBMrl (ORCPT <rfc822;linux-i2c@vger.kernel.org>);\n\tThu, 2 Nov 2017 08:47:41 -0400",
            "from localhost (p54B33C39.dip0.t-ipconnect.de [84.179.60.57])\n\tby pokefinder.org (Postfix) with ESMTPSA id 87D6A2C322B;\n\tThu,  2 Nov 2017 13:47:40 +0100 (CET)"
        ],
        "From": "Wolfram Sang <wsa+renesas@sang-engineering.com>",
        "To": "linux-i2c@vger.kernel.org",
        "Cc": "linux-renesas-soc@vger.kernel.org,\n\tYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,\n\tJacopo Mondi <jacopo@jmondi.org>,\n\tWolfram Sang <wsa+renesas@sang-engineering.com>",
        "Subject": "[PATCH RFT 2/5] i2c: sh_mobile: remove redundant deinitialization",
        "Date": "Thu,  2 Nov 2017 13:47:28 +0100",
        "Message-Id": "<20171102124731.10484-3-wsa+renesas@sang-engineering.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20171102124731.10484-1-wsa+renesas@sang-engineering.com>",
        "References": "<20171102124731.10484-1-wsa+renesas@sang-engineering.com>",
        "Sender": "linux-i2c-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-i2c.vger.kernel.org>",
        "X-Mailing-List": "linux-i2c@vger.kernel.org"
    },
    "content": "No need to clear the interrupt registers because right after that we\ndisable the IP core which will reload registers with their initial\nvalues anyhow.\n\nSigned-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>\n---\n drivers/i2c/busses/i2c-sh_mobile.c | 4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c\nindex 9d073e99c7e72d..a1253df9574594 100644\n--- a/drivers/i2c/busses/i2c-sh_mobile.c\n+++ b/drivers/i2c/busses/i2c-sh_mobile.c\n@@ -307,10 +307,6 @@ static void activate_ch(struct sh_mobile_i2c_data *pd)\n \n static void deactivate_ch(struct sh_mobile_i2c_data *pd)\n {\n-\t/* Clear/disable interrupts */\n-\tiic_wr(pd, ICSR, 0);\n-\tiic_wr(pd, ICIC, 0);\n-\n \t/* Disable channel */\n \tiic_set_clr(pd, ICCR, 0, ICCR_ICE);\n \n",
    "prefixes": [
        "RFT",
        "2/5"
    ]
}