From: Sachin Kamat Date: Mon, 30 Sep 2013 03:19:42 +0000 (+0530) Subject: crypto: mv_cesa - Remove redundant of_match_ptr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=165c70f07fee46abcbdbb885f8e90388dbe7ce60;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git crypto: mv_cesa - 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: Sebastian Andrzej Siewior Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index f9b9560f64b4..2662d1b04c2a 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c @@ -1187,7 +1187,7 @@ static struct platform_driver marvell_crypto = { .driver = { .owner = THIS_MODULE, .name = "mv_crypto", - .of_match_table = of_match_ptr(mv_cesa_of_match_table), + .of_match_table = mv_cesa_of_match_table, }, }; MODULE_ALIAS("platform:mv_crypto");