diff options
| author | Jon Hunter <jonathanh@nvidia.com> | 2026-05-22 18:58:24 +0300 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-05-31 08:21:14 +0300 |
| commit | e9bfdf06fb05168e72d3d9d6163b04e2316e0aa2 (patch) | |
| tree | 217128fe6a8fbab8711491a9ad3ae73049e19705 /include/linux/workqueue_api.h | |
| parent | 8318af5dd29c819d95ec5b878e7dab6090a9ed2b (diff) | |
| download | linux-e9bfdf06fb05168e72d3d9d6163b04e2316e0aa2.tar.xz | |
soc/tegra: pmc: Populate powergate debugfs only when needed
The 'powergate' debugfs node is used to show the state of the powergates
but for some devices the 'num_powergates' is 0 and so it displays
nothing. Therefore, only populate this debugfs entry for devices where
num_powergates is greater than 0.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
