crypto: omap - use of_device_get_match_data
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Wed, 20 Sep 2017 18:42:48 +0000 (20:42 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 7 Oct 2017 04:10:35 +0000 (12:10 +0800)
commit7d556931520e1e0df4c3e545ab8ba74046410c37
tree2ff27f55af9d3cfd0ab2d2e56c959dd493f5fcb3
parentde915688385ca9df749a3d46e824a8200f05d65e
crypto: omap - use of_device_get_match_data

The usage of of_device_get_match_data reduce the code size a bit.
Furthermore, it prevents an improbable dereference when
of_match_device() return NULL.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c
drivers/crypto/omap-des.c
drivers/crypto/omap-sham.c