Uses new Dumpstate class functions on dumpstate_board().

BUG: 26379932
Test: manual / refactored code

Change-Id: I6187f1ef639332e9b3c0248c74908a7947269296
diff --git a/dumpstate/dumpstate.cpp b/dumpstate/dumpstate.cpp
index a38a97b..112ec0a 100644
--- a/dumpstate/dumpstate.cpp
+++ b/dumpstate/dumpstate.cpp
@@ -95,9 +95,11 @@
 
 void dumpstate_board()
 {
-    dump_file("INTERRUPTS", "/proc/interrupts");
-    dump_file("last ipanic_console", "/data/dontpanic/ipanic_console");
-    dump_file("last ipanic_threads", "/data/dontpanic/ipanic_threads");
+    Dumpstate& ds = Dumpstate::GetInstance();
+
+    ds.DumpFile("INTERRUPTS", "/proc/interrupts");
+    ds.DumpFile("last ipanic_console", "/data/dontpanic/ipanic_console");
+    ds.DumpFile("last ipanic_threads", "/data/dontpanic/ipanic_threads");
     fugu_dump_base64("/dev/snd_atvr_mSBC");
     fugu_dump_base64("/dev/snd_atvr_pcm");
 };