aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-06-14 22:26:04 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-07-15 17:53:38 +0100
commit478baae99c714a14de98e9387ffdd009633fdee7 (patch)
treecfd1b67c408e3073c69831229507bbd36ccf0651 /tools/perf/scripts/python/net_dropmonitor.py
parentdt-bindings: iio: semtech,sx9324: reference common schema for label (diff)
downloadlinux-478baae99c714a14de98e9387ffdd009633fdee7.tar.gz
linux-478baae99c714a14de98e9387ffdd009633fdee7.zip
iio: adc: ad7192: Simplify using devm_clk_get_optional_enabled()
If st->mclk is not NULL, then st->clock_sel is either AD7192_CLK_EXT_MCLK2 or AD7192_CLK_EXT_MCLK1_2. So devm_clk_get_optional_enabled() can be used instead of hand writing it. This saves some line of code. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/7dbe973905f1fdae5d2f5ae5a3b01dd1d6a9925b.1686774340.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions