diff options
author | 2022-08-07 23:20:51 +0200 | |
---|---|---|
committer | 2022-09-21 10:38:46 +0200 | |
commit | 2525a0abed6cd2d6add7714eb17347e65d278997 (patch) | |
tree | 309e587a8ea5e72ab9bd64a2c473c5ebbb7764a8 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | mtd: rawnand: cafe: Use correct function name in comment block (diff) | |
download | linux-dev-2525a0abed6cd2d6add7714eb17347e65d278997.tar.xz linux-dev-2525a0abed6cd2d6add7714eb17347e65d278997.zip |
mtd: rawnand: orion: Use devm_clk_get_optional()
Use devm_clk_get_optional() instead of hand writing it.
While at it, use dev_err_probe() to further simplify the code. This is also
less verbose if clk_get() returns -EPROBE_DEFER.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/a5bde48e3e1165dd65d1d1c1739e03ace1bef5d3.1659907229.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions