lkml.org 
[lkml]   [2023]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] hwrng: cctrng - simplify the code a bit
Date
We can use module_platform_driver and devm_clk_get_optional_enabled in the
cctrng driver to make its code simpler.

The patches were compile tested only.

Martin Kaiser (4):
hwrng: cctrng - don't open code init and exit functions
hwrng: cctrng - let devres enable the clock
hwrng: cctrng - merge cc_trng_clk_init into its only caller
hwrng: cctrng - use dev_err_probe in error paths

drivers/char/hw_random/cctrng.c | 93 +++++++--------------------------
1 file changed, 19 insertions(+), 74 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2023-07-19 09:20    [W:0.923 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site