]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: most: dim2: replace IS_ERR_OR_NULL with IS_ERR for devm_clk_get
authorArtem Lytkin <iprintercanon@gmail.com>
Tue, 24 Feb 2026 18:07:48 +0000 (21:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Feb 2026 15:03:40 +0000 (07:03 -0800)
commit24b28dc2189790810dbbc29e01759aed39dff5e3
tree63b5a054b2a7fc4732d31dc8e0941e48f33cd7f5
parent4895acd1b4306fea49ec8b7b1dcc03df8e73efbc
staging: most: dim2: replace IS_ERR_OR_NULL with IS_ERR for devm_clk_get

devm_clk_get() never returns NULL, so IS_ERR_OR_NULL() checks are
unnecessary. Replace them with IS_ERR() for both the "mlb" and
"pll8_mlb" clock lookups in fsl_mx6_enable().

Signed-off-by: Artem Lytkin <iprintercanon@gmail.com>
Link: https://patch.msgid.link/20260224180750.28468-2-iprintercanon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c