aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-06-08 21:12:00 +0200
committerAlexandre Belloni <[email protected]>2023-06-26 00:53:19 +0200
commit0e6f36cca1bd3f5257315b55d9f31519ea4cc059 (patch)
tree58e2ac3bf05b7ee542b2869c2ee8cfa84a7c0cd6 /net/lapb/lapb_subr.c
parent06c6e1b01d9261f03629cefd1f3553503291e6cf (diff)
rtc: st-lpc: Simplify clk handling in st_rtc_probe()
Use devm_clk_get_enabled() instead of hand writing it. This simplifies error handling and removes some lines of code. Also use dev_err_probe() which filters -EPROBE_DEFER. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/992dd8c31be0bb5b8a9d8b5e8e94807ab0848a66.1686251455.git.christophe.jaillet@wanadoo.fr Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions