Drop get_smbios_data from chip_operations

We only want to add data once per device. Using the one in
chip_operations is not very usable anyway, as different
devices under the same chip directory would need to output
entirely different sets of data.

Change-Id: I96690c4c699667343ebef44a7f3de1f974cf6d6d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1492
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Kyösti Mälkki
2012-08-28 07:49:49 +03:00
committed by Stefan Reinauer
parent 23c046b6f1
commit 9ead80f870
3 changed files with 14 additions and 20 deletions

View File

@@ -282,9 +282,6 @@ static int smbios_walk_device_tree(device_t tree, int *handle, unsigned long *cu
if (dev->ops && dev->ops->get_smbios_data)
len += dev->ops->get_smbios_data(dev, handle, current);
if (dev->chip_ops && dev->chip_ops->get_smbios_data)
len += dev->chip_ops->get_smbios_data(dev, handle, current);
}
return len;
}