Re: [PATCH 1/2] crypto: engine - replace pr_xxx by dev_xxx

2017-05-23 Thread Joe Perches
On Tue, 2017-05-23 at 14:09 +0200, Corentin Labbe wrote: > 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. trivia: > diff --git a/include/crypto/engine.h b/include/crypto/engine.h [] > @@

[PATCH 1/2] crypto: engine - replace pr_xxx by dev_xxx

2017-05-23 Thread Corentin Labbe
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 --- crypto/crypto_engine.c | 23 +-- include/crypto/engine.h | 1 +