sensor: Add function to support sensor with readingAssertion type

readingAssertion is special type where the entire assert bitfield
serves as the value or reading.

Change-Id: Iaddbe846e04d2a53cff69d71670a96ccc66636a8
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2 files changed