NVMeSensor: Split out NVMeContext
An NVMeContext instance contains some number of NVMeSensors, but
NVMeSenors do not need to be concerned with the implementation details
of NVMeContext. Make it easier to discern what's related to what by
splitting NVMeContext out into its own header and source file.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I812a0f7471b0f7150a76964bc353561ac88ca833
diff --git a/src/meson.build b/src/meson.build
index 12c79b5..cd861cb 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -158,6 +158,7 @@
'nvmesensor',
'NVMeSensorMain.cpp',
'NVMeSensor.cpp',
+ 'NVMeContext.cpp',
dependencies: [
i2c,
sdbusplus,