]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 12 Oct 2011 23:25:54 +0000 (16:25 -0700)
commit3d54b885fb81f2e26e8df880a9abf9b76534d898
tree293859c0902eec27f3a037623b90160a2e64031f
parent7799a1c0bfb6f797974fa10e153c4458f18c41a7
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