aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorYuanjun Gong <[email protected]>2023-07-20 22:09:09 +0800
committerMark Brown <[email protected]>2023-07-20 15:29:11 +0100
commita90a987ebe008c941338285764e5afc0d663f54d (patch)
tree286b827fa4f7a0fb14aa28d9efbbe81dbfff007f /net/lapb/lapb_timer.c
parent1e7dae68510aa90a022fefed392fa794b16bc68b (diff)
spi: use devm_clk_get_enabled() in mcfqspi_probe()
in mcfqspi_probe(), the return value of function clk_prepare_enable() should be checked, since it may fail. using devm_clk_get_enabled() instead of devm_clk_get() and clk_prepare_enable() can avoid this problem. Signed-off-by: Yuanjun Gong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions