)]}'
{
  "commit": "e49bd2dd5a503bb94fe2f2af45422b610940b75d",
  "tree": "9ae6510a91f8b43197e32f08b328fa142e594b26",
  "parents": [
    "ae8433324be16673c75951986dcf85f29c090557"
  ],
  "author": {
    "name": "Zhang Rui",
    "email": "rui.zhang@intel.com",
    "time": "Fri Dec 08 17:23:43 2006 +0800"
  },
  "committer": {
    "name": "Len Brown",
    "email": "len.brown@intel.com",
    "time": "Thu Dec 21 03:05:51 2006 -0500"
  },
  "message": "ACPI: use PNPID:instance_no as bus_id of ACPI device\n\nPreviously we used the device name in the DSDT, but would\ncrash upon encountering a duplicate. Also, exposing the\nDSDT device name to the user in a patch isn\u0027t a good idea,\nbecause it is arbitrary.\n\nAfter some discussion, we finally decided to use\n\"PNPID:instance_no\" as the bus_id of ACPI devices.\n\nTwo attributes for each device are added at the same time,\nthe full pathname in ACPI namespace and hardware_id if it has.\n\nNOTE:\tacpi_bus_id_list is used to keep the information of PNPID\n\tand instance number of the given PNPID. Loop the\n\tacpi_bus_id_list to find the instance_no of the\tsame PNPID\n\twhen register a device. If failed, i.e. we don\u0027t have a\n\tnode with this PNPID, allocate one and link it to this list.\n\nNOTE:\tNow I don\u0027t take the memory free work in charge.\n\tIf necessary, I can add a reference count in\n\tstruct acpi_device_bus_id, and check the reference and\n\twhen unregister a device, i.e. memory is freed when\n\tthe reference count of a given PNPID is 0.\n\nSigned-off-by: Li Shaohua \u003cshaohua.li@intel.com\u003e\nSigned-off-by: Len Brown \u003clen.brown@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9efe3e9dbf21834df5b5dd8321e206d46b3ca54f",
      "old_mode": 33188,
      "old_path": "drivers/acpi/scan.c",
      "new_id": "769e54bc9226050574bfd7c6ce8526133ad0e491",
      "new_mode": 33188,
      "new_path": "drivers/acpi/scan.c"
    }
  ]
}
