rename write,read to writeMeta,readMeta
The blobs::DataInterface specifies two methods, write and read which are
meant to be implemented to write or read configuration for the data
interface implementation.
Change-Id: I831a8611596fca50570a4156cbdcfa5c810c0315
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/pci_handler.cpp b/pci_handler.cpp
index 29daf8f..3f9b99f 100644
--- a/pci_handler.cpp
+++ b/pci_handler.cpp
@@ -44,13 +44,13 @@
return {};
}
-bool PciDataHandler::write(const std::vector<std::uint8_t>& configuration)
+bool PciDataHandler::writeMeta(const std::vector<std::uint8_t>& configuration)
{
/* PCI handler doesn't require configuration write, only read. */
return false;
}
-std::vector<std::uint8_t> PciDataHandler::read()
+std::vector<std::uint8_t> PciDataHandler::readMeta()
{
/* PCI handler does require returning a configuration from read. */
struct PciConfigResponse reply;