summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-04-14 00:43:28 +0200
committerArnd Bergmann <arnd@arndb.de>2015-04-14 00:43:28 +0200
commit875dac1c72e4ced725c37685086d52259ccb90dc (patch)
tree715161d98bf65197eb9522d23efd98995a39997a /drivers/soc
parent9d8633915ba52158d53b016d276ca30616a6e6b3 (diff)
parent7a4261d5d35362d1c9ec4f80ba01ad417ca467b7 (diff)
Merge tag 'v4.0-next-soc-fix' of https://github.com/mbgg/linux-mediatek into next/drivers
Merge "fix unused variable warning for pmic-wrapper" from Matthias Brugger * tag 'v4.0-next-soc-fix' of https://github.com/mbgg/linux-mediatek: soc/mediatek: Remove unused variables
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/mediatek/mtk-pmic-wrap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
index 4a38506154c6..db5be1eec54c 100644
--- a/drivers/soc/mediatek/mtk-pmic-wrap.c
+++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
@@ -563,8 +563,6 @@ static int pwrap_init_sidly(struct pmic_wrapper *wrp)
static int pwrap_init_reg_clock(struct pmic_wrapper *wrp)
{
- u32 wdata;
- u32 rdata;
unsigned long rate_spi;
int ck_mhz;