msm: acpuclock-krait: Clean up error paths in initialization code
msm: acpuclock-krait: Clean up error paths in initialization code

BUG_ON() may be appropriate for critical clock initialization that will
prevent proper booting, but it is not appropriate for functions called
in hotplug notifiers while bringing additional CPUs on line. There, it
is better to just fail the hotplug rather than crashing on purpose.

Fix this by cleaning up the initialization error paths so that functions
called in the hotplug path return errors and cleanly rollback state.

Change-Id: I7b842956ea12ebb94c7c5b05de7a6dddfa298617
Signed-off-by: Matt Wagantall <f353a1326f7aad71d23381a3beb9470c3b31d81b@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas