diag: Edit order of initialization

DIAG driver intializes several work structures. Changing the
order of some initialization functions to make sure structures
are initialized before being used.

Change-Id: I4cc329ff116c548e6fed7277305e69804e21174e
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
1 file changed