]> git.baikalelectronics.ru Git - 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)
commit85f02b0cd11460f36888b2facccb1ebd6206d774
treeecb22370a076f3d7a4f89d67b24957d7c1e0c266
parent5c19d7d41c8c4e282fc61d4e443e08e40f53f044
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