summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2024-04-26 18:30:33 +0300
committerMark Brown <broonie@kernel.org>2024-04-29 17:48:56 +0300
commite8a6a5ad73acbafd98e8fd3f0cbf6e379771bb76 (patch)
treeff1d2903df8f3653c22045da9abceab66976f6ec /.cocciconfig
parent6db26f9ea4edd8a17d39ab3c20111e3ccd704aef (diff)
downloadlinux-e8a6a5ad73acbafd98e8fd3f0cbf6e379771bb76.tar.xz
ASoC: da7219-aad: fix usage of device_get_named_child_node()
The documentation for device_get_named_child_node() mentions this important point: " The caller is responsible for calling fwnode_handle_put() on the returned fwnode pointer. " Add fwnode_handle_put() to avoid a leaked reference. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20240426153033.38500-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions