crypto: engine - replace pr_xxx by dev_xxx
By adding a struct device *dev to struct engine, we could store the device used at register time and so use all dev_xxx functions instead of pr_xxx. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
cf3f9609c9
commit
88d58ef891
@@ -58,6 +58,7 @@ struct crypto_engine {
|
||||
struct list_head list;
|
||||
spinlock_t queue_lock;
|
||||
struct crypto_queue queue;
|
||||
struct device *dev;
|
||||
|
||||
bool rt;
|
||||
|
||||
|
Reference in New Issue
Block a user