diff options
| author | Liang He <windhl@126.com> | 2023-03-22 12:16:57 +0800 |
|---|---|---|
| committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2023-04-24 13:35:12 +0800 |
| commit | dc70234c408c644505a24362b0f095f713e4697e (patch) | |
| tree | 600e1507865e2ac6e45450585781ac08f3363101 /scripts/stackusage | |
| parent | platform/chrome: cros_ec: remove unneeded label and if-condition (diff) | |
| download | linux-dc70234c408c644505a24362b0f095f713e4697e.tar.gz linux-dc70234c408c644505a24362b0f095f713e4697e.zip | |
platform/chrome: cros_typec_switch: Add missing fwnode_handle_put()
In cros_typec_register_switches(), we should add fwnode_handle_put()
when break out of the iteration device_for_each_child_node()
as it will automatically increase and decrease the refcounter.
Fixes: affc804c44c8 ("platform/chrome: cros_typec_switch: Add switch driver")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20230322041657.1857001-1-windhl@126.com
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
