arm: tegra: remove unnecessary arm_pm_restart = tegra_pm_restart
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Fri, 17 Jun 2011 14:17:05 +0000 (19:17 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:47:33 +0000 (21:47 -0800)
commitabce66243916dba129efcc431f1cc53ee606c635
tree606101a6dab1ae2c114c39cdf85a1d5ad8ebaeaa
parent44db1cbe50b4cada2144dfe0bac745e19c21d41f
arm: tegra: remove unnecessary arm_pm_restart = tegra_pm_restart

this is because, tegra_pm_restart internally calls arm_machine_restart().
however, arm_pm_restart is already set to arm_machine_restart()
in arch/arm/kernel/process.c. the above was needed when the console
flush code did not used kernel's reboot notifier mechanism. now it does
use that mechanism, making the assignment arm_pm_restart = tegra_pm_restart
redundent.

Original-Change-Id: I4f2ef51740d7934f3dfe5e6ce749ee6f135f8106
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/37331
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rda63b4e0e0138ccfe2196cb4820315f6b543f4f5
arch/arm/mach-tegra/common.c