ARM: tegra: tegra_powergate_is_powered should be static
authorOlof Johansson <olof@lixom.net>
Fri, 9 Sep 2011 00:54:21 +0000 (17:54 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 13 Oct 2011 21:08:28 +0000 (14:08 -0700)
commit784278e116d6243f2588e28d2404425858df65b4
tree0564b6513d9b1d6655821fe9f35e41963c24b352
parentb28fba2a4e631de99b25a9d4b2d1ba1c65f86f53
ARM: tegra: tegra_powergate_is_powered should be static

Not exported and not used externally.

Also, fix return type. Due to new return type, errors can't be returned
so WARN_ON instead of returning error if a bad parameter is specified.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-tegra/include/mach/powergate.h
arch/arm/mach-tegra/powergate.c