Use names for output functions in the form dt_to_*() instead of
write_dt_*() for consistency with the dt_from_*() input functions.
diff --git a/dtc.c b/dtc.c
index c2d24ab..f26b1ec 100644
--- a/dtc.c
+++ b/dtc.c
@@ -183,11 +183,11 @@
 	}
 
 	if (streq(outform, "dts")) {
-		write_tree_source(outf, bi);
+		dt_to_source(outf, bi);
 	} else if (streq(outform, "dtb")) {
-		write_dt_blob(outf, bi, outversion);
+		dt_to_blob(outf, bi, outversion);
 	} else if (streq(outform, "asm")) {
-		write_dt_asm(outf, bi, outversion);
+		dt_to_asm(outf, bi, outversion);
 	} else if (streq(outform, "null")) {
 		/* do nothing */
 	} else {