projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f022d8
)
soc/mediatek: Remove unused variables
author
Thierry Reding
<treding@nvidia.com>
Wed, 8 Apr 2015 08:50:16 +0000
(10:50 +0200)
committer
Matthias Brugger
<matthias.bgg@gmail.com>
Mon, 13 Apr 2015 08:35:53 +0000
(10:35 +0200)
The PMIC wrapper driver adds a couple of variables that are never used.
Remove them to avoid build warnings.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c
patch
|
blob
|
history
diff --git
a/drivers/soc/mediatek/mtk-pmic-wrap.c
b/drivers/soc/mediatek/mtk-pmic-wrap.c
index
4a38506
..
db5be1e
100644
(file)
--- 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;