)]}'
{
  "commit": "af499198a49fe342a0bb3dbbfa362b8788a8fb4e",
  "tree": "1d3b92f384508e6622ed91240a50477a07884148",
  "parents": [
    "1d507a07a919f49e74aa05803bf37919ac95adb1"
  ],
  "author": {
    "name": "Daniel Thompson",
    "email": "daniel.thompson@linaro.org",
    "time": "Thu Jul 12 12:03:51 2018 +0100"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Thu Aug 30 09:54:50 2018 +0000"
  },
  "message": "usbdev: Refactor device discovery code\n\nCurrently there is a lot of code shared between\nusb_dev_get_by_vid_pid_serial() and usb_dev_get_by_vid_pid_number().\nFix this by pulling out the conditional filtering at the heart of each loop\nand calling it via a function pointer.\n\nI haven\u0027t got (two) dediprog programmers to test with but I have tested\nboth by...serial() and by...number() calls using a pair of Developerboxen\nand a hacked driver.\n\nChange-Id: I31ed572501e4314b9455e1b70a5e934ec96408b1\nSigned-off-by: Daniel Thompson \u003cdaniel.thompson@linaro.org\u003e\nReviewed-on: https://review.coreboot.org/27444\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5c34ba127f8ae5210667ef73e20067ada8369b80",
      "old_mode": 33188,
      "old_path": "usbdev.c",
      "new_id": "d793b65d7b93ae17e9babdc06d9041b73cb9f6df",
      "new_mode": 33188,
      "new_path": "usbdev.c"
    }
  ]
}
