)]}'
{
  "commit": "4d8440b93ce8a8544199804dbcf997b2ab3dad11",
  "tree": "77458cfa065d39cc50c3be2801463d830fd07d36",
  "parents": [
    "964cb341882f920a1a1043864178f22def3193e4"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Tue Mar 10 23:08:57 2015 +0100"
  },
  "committer": {
    "name": "Linus Walleij",
    "email": "linus.walleij@linaro.org",
    "time": "Thu Mar 19 09:46:04 2015 +0100"
  },
  "message": "gpio / ACPI: Avoid unnecessary checks in __gpiod_get_index()\n\nIf dev is NULL in __gpiod_get_index() and both ACPI and OF are\nenabled, it will be checked twice before the code decides to give\nup with DT/ACPI lookup, so avoid that.\n\nAlso use the observation that ACPI_COMPANION() is much more efficient\nthan ACPI_HANDLE(), because the latter uses the former and carries out\na check and a pointer dereference on top of it, so replace the\nACPI_HANDLE() check with an ACPI_COMPANION() one which does not\nrequire the additional IS_ENABLED(CONFIG_ACPI) check too.\n\nSigned-off-by: Rafael J. Wysocki \u003crafael.j.wysocki@intel.com\u003e\nReviewed-by: Hanjun Guo \u003chanjun.guo@linaro.org\u003e\nAcked-by: Mika Westerberg \u003cmika.westerberg@linux.intel.com\u003e\nSigned-off-by: Linus Walleij \u003clinus.walleij@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3d5b85a7dcdf96b0426e9029fe2eded0de10608b",
      "old_mode": 33188,
      "old_path": "drivers/gpio/gpiolib.c",
      "new_id": "59eaa23767d8dca5bddf740fa90a24c9699c4a0b",
      "new_mode": 33188,
      "new_path": "drivers/gpio/gpiolib.c"
    }
  ]
}
