]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ARM: tegra: fix return value for debugfs init
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 6 Sep 2012 14:55:28 +0000 (17:55 +0300)
committerStephen Warren <swarren@nvidia.com>
Thu, 6 Sep 2012 18:21:12 +0000 (12:21 -0600)
commitf858b6f21fc3381cd9f490dd63bf5f519002d3e2
treeb0f75a01ef81fd26bf3fe836bc9d4f7bee5dbdda
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
ARM: tegra: fix return value for debugfs init

tegra_powergate_debugfs_init() always returns -ENOMEM. It shouldn't do that
when registering the debugfs entry succeeded.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/powergate.c