crypto: ccree - remove struct cc_debugfs_ctx
The cc_debugfs_ctx structure contains only a single member, and only one instance exists. Simplify the code and reduce memory consumption by moving this member to struct cc_drvdata. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
f1b19dff53
commit
ec8f3a5519
@@ -147,7 +147,7 @@ struct cc_drvdata {
|
||||
void *request_mgr_handle;
|
||||
void *fips_handle;
|
||||
u32 sram_free_offset; /* offset to non-allocated area in SRAM */
|
||||
void *debugfs;
|
||||
struct dentry *dir; /* for debugfs */
|
||||
struct clk *clk;
|
||||
bool coherent;
|
||||
char *hw_rev_name;
|
||||
|
Reference in New Issue
Block a user