crypto: hisilicon/qm - fix wrong return type of 'pci_get_drvdata'
authorYang Shen <shenyang39@huawei.com>
Sat, 19 Sep 2020 11:01:35 +0000 (19:01 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:53 +0000 (17:48 +1000)
commitd8140b878eb317bda057468d969844f93a5d2d18
tree996abbecfff8a14175258af9ce9f3f2883ecc0de
parentbfc1159e7f0607cdaaef380792c036b96310da72
crypto: hisilicon/qm - fix wrong return type of 'pci_get_drvdata'

The parameter type of 'pci_set_drvdata' is 'struct hisi_qm',
so here the return type of 'pci_get_drvdata' should be 'struct hisi_qm'
too.

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Signed-off-by: Weili Qian <qianweili@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c