spl: fix debug print in spl_common_init()
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 13 Aug 2018 09:24:05 +0000 (11:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 20 Aug 2018 11:21:28 +0000 (07:21 -0400)
commit94cb986e5e7f3bea9bb8fd09223f2ae0a6545563
tree6ae0822e7f71153fd5b9fe6831974640c5122971
parent09d841176d56eac23bc55ff0c5e2ddd14ede2353
spl: fix debug print in spl_common_init()

spl_common_init() debug-prints "spl_early_init()\n" but it is
called both from spl_early_init() and spl_init().

Fix this by moving the debug() statement to the calling functions
which now print their name.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
common/spl/spl.c