MMC: Fix code for dumping Samsung MMC Smart Report

I mistakenly submitted a slightly out of date version of the code
initially.  Clean up the error handling and fix compile problems.

Change-Id: I3728e028c40ea7e30e0105718588983c9dc0c344
Signed-off-by: Scott Anderson <saa@google.com>
1 file changed