msm: xo: Initialize debugfs from initcall

If msm xo is compiled in but msm_xo_init() hasn't been called we
still initialize the debugfs node in a late initcall. Doing so
exposes a file that when cated will Oops because the lists for
the xo voters aren't initialized. Move the debugfs initialization
to the init function so that the node is not created unless the
xo driver is initialized.

Change-Id: Ibee2efde5453af065b177001572d3c8c1c5912ed
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
1 file changed