Commit 94a72c5a authored by Alexander Motin's avatar Alexander Motin
Browse files

amdtemp: Revert related part of "Make CPU children" commit.

While it still looks like previous code worked by coincidence, this
change broke things even more instead of fixing.

Reported by:	avg@
MFC after:	1 week
parent 071966e8
...@@ -263,8 +263,7 @@ amdtemp_identify(driver_t *driver, device_t parent) ...@@ -263,8 +263,7 @@ amdtemp_identify(driver_t *driver, device_t parent)
return; return;
if (amdtemp_match(parent, NULL)) { if (amdtemp_match(parent, NULL)) {
child = device_add_child(parent, "amdtemp", child = device_add_child(parent, "amdtemp", -1);
if (child == NULL) if (child == NULL)
device_printf(parent, "add amdtemp child failed\n"); device_printf(parent, "add amdtemp child failed\n");
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment