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:
Corentin LABBE
2017-06-06 15:44:16 +02:00
committed by Herbert Xu
szülő cf3f9609c9
commit 88d58ef891
2 fájl változott, egészen pontosan 14 új sor hozzáadva és 10 régi sor törölve

Fájl megtekintése

@@ -58,6 +58,7 @@ struct crypto_engine {
struct list_head list;
spinlock_t queue_lock;
struct crypto_queue queue;
struct device *dev;
bool rt;