smbiosmdrv2handler: move mdr2 lock data to new API.

Rewrite "MDRII_LOCK_DATA" cmd to new IPMI provider API.

Tested:
verified using ipmitool smbiosmdrv2handler commands.
mdr2 lock data before and after the changes.
Command: ipmitool raw 0x3E 0x33 0x01 0x01 40 41 42 43 44 45 46 47 48 49
 50 51 52 53 54 0x42 0x0a 0xa
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0x33
rsp=0xd5): Command not supported in present state

Command: ipmitool raw 0x3E 0x33 0x01 0x01 40 41 42 43 44 45 46 47 48 49
 50 51 52 53 50 0x42 1 0xff
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x33 rsp=0xc9): Parameter out of range

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: Ie0eddd716deeb522da89448bb1977735e87bc08a
1 file changed