summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-05-20 09:10:54 +0200
committerLee Jones <lee@kernel.org>2023-06-15 09:19:38 +0100
commitf190b4891a3f9fac123a7afd378d4143a2723313 (patch)
tree67719a3d9e1cb1b039a7ed29ea71955613ddce22 /tools/perf/scripts/python/export-to-sqlite.py
parent8f3ef556f8e1a670895f59ef3f01e4e26edd63e3 (diff)
mfd: wcd934x: Fix an error handling path in wcd934x_slim_probe()
If devm_gpiod_get_optional() fails, some resources need to be released, as already done in the .remove() function. While at it, remove the unneeded error code from a dev_err_probe() call. It is already added in a human readable way by dev_err_probe() itself. Fixes: 6a0ee2a61a31 ("mfd: wcd934x: Replace legacy gpio interface for gpiod") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/02d8447f6d1df52cc8357aae698152e9a9be67c6.1684565021.git.christophe.jaillet@wanadoo.fr Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions