commit | 3195ac6d9cbeef23631913d67f8c1e76b891da4d | [log] [tgz] |
---|---|---|
author | Jon Hunter <jonathanh@nvidia.com> | Fri Dec 04 14:57:05 2015 +0000 |
committer | Thierry Reding <treding@nvidia.com> | Tue Apr 05 15:22:40 2016 +0200 |
tree | 32adbe2e5c6dbd7f54b95b675c8a6bf0a03e43a7 | |
parent | 1e52efdfc6a29f9bad767b92b89ae6ae772063cc [diff] |
soc/tegra: pmc: Remove debugfs entry on probe failure The debugfs entry for the PMC device will not be removed if the probe of the device fails to register the restart handler. This leaves behind the dangling debugfs entry with no driver backing it. Remove the entry to avoid this. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>