From: Sachin Kamat Date: Mon, 30 Sep 2013 03:19:41 +0000 (+0530) Subject: crypto: sahara - Remove redundant of_match_ptr X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1b0b2605a920e200d8adab29fc57ea9254a3f953;p=linux-beck.git crypto: sahara - Remove redundant of_match_ptr The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat Cc: Javier Martin Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index d7bb8bac36e9..785a9ded7bdf 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -1058,7 +1058,7 @@ static struct platform_driver sahara_driver = { .driver = { .name = SAHARA_NAME, .owner = THIS_MODULE, - .of_match_table = of_match_ptr(sahara_dt_ids), + .of_match_table = sahara_dt_ids, }, .id_table = sahara_platform_ids, };