]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: picoxcell - Remove spacc_is_compatible() wrapper function
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 2 Jan 2017 17:06:59 +0000 (14:06 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Jan 2017 16:24:41 +0000 (00:24 +0800)
commit012ef70336a0dfb33ebe30cd80ec86aa1fe61f79
treeecb22370a076f3d7a4f89d67b24957d7c1e0c266
parent6b2be1ddbc427922231be712677d4fec37e9772a
crypto: picoxcell - Remove spacc_is_compatible() wrapper function

The function is used to check either the platform device ID name or the OF
node's compatible (depending how the device was registered) to know which
device type was registered.

But the driver is for a DT-only platform and so there's no need for this
level of indirection since the devices can only be registered via OF.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c