summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mediatek/mtk-platform.h
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2017-06-01 04:30:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-10 06:04:37 +0200
commit8fa23a29eb77698cdcc6ea173577ec3af463fe53 (patch)
treeccae761543a3be0183a44b057675bbc5ba9985a5 /drivers/crypto/mediatek/mtk-platform.h
parentcrypto: testmgr - add genkey kpp test (diff)
downloadlinux-8fa23a29eb77698cdcc6ea173577ec3af463fe53.tar.xz
linux-8fa23a29eb77698cdcc6ea173577ec3af463fe53.zip
crypto: mediatek - remove redundant clock setting
This patch removes redundant clock setting for 'clk_ethif', which is the parent of 'clk_cryp'. Hence, we just need to handle its child. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mediatek/mtk-platform.h')
-rw-r--r--drivers/crypto/mediatek/mtk-platform.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/mediatek/mtk-platform.h b/drivers/crypto/mediatek/mtk-platform.h
index 303c152dc931..f0831f1742ab 100644
--- a/drivers/crypto/mediatek/mtk-platform.h
+++ b/drivers/crypto/mediatek/mtk-platform.h
@@ -200,7 +200,6 @@ struct mtk_sha_rec {
* struct mtk_cryp - Cryptographic device
* @base: pointer to mapped register I/O base
* @dev: pointer to device
- * @clk_ethif: pointer to ethif clock
* @clk_cryp: pointer to crypto clock
* @irq: global system and rings IRQ
* @ring: pointer to descriptor rings
@@ -215,7 +214,6 @@ struct mtk_sha_rec {
struct mtk_cryp {
void __iomem *base;
struct device *dev;
- struct clk *clk_ethif;
struct clk *clk_cryp;
int irq[MTK_IRQ_NUM];