summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-10-05 21:48:30 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-10-07 20:04:30 +0100
commit388008bbd60ccf2787ebe053dd91ee92f275630f (patch)
treeb7aeaf39d8e4d99edb678a841a2bf86662951ab9 /tools/perf/scripts/python/bin/stackcollapse-record
parent1afacfb0dfe9af88d8e831cfcfb8bda663cfc9b5 (diff)
downloadlinux-388008bbd60ccf2787ebe053dd91ee92f275630f.tar.gz
linux-388008bbd60ccf2787ebe053dd91ee92f275630f.zip
iio: ssp_sensors: don't manually free devm managed resources
The charme of devm_* functions is that you don't need to care about them in the error path. In this case it is valid to just return NULL which makes the device fail to probe and then the two gpios and the allocated memory are freed automatically by the driver core. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions