summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-irq.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-02-20 11:53:36 +0900
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-08 11:57:20 +0200
commit222bc784dcdc62d9402c580502d579914dbf07bc (patch)
treea8a7df4571987fae2f47e8dfd37b4102b0177de1 /drivers/mfd/arizona-irq.c
parentd1ac2c092d9dbd5ef2b903eea77629929c3314f2 (diff)
downloadop-kernel-dev-222bc784dcdc62d9402c580502d579914dbf07bc.zip
op-kernel-dev-222bc784dcdc62d9402c580502d579914dbf07bc.tar.gz
mfd: wm8994: Silence bogus warning in wm8994_device_init()
'patch_regs' cannot be used uninitialized in wm8994_device_init(), because 'patch_regs' was already guarded by 'regmap_patch'. Thus, that's a bogus warning. Without this patch, the build warning happens as below: drivers/mfd/wm8994-core.c: In function 'wm8994_i2c_probe': drivers/mfd/wm8994-core.c:595:7: warning: 'patch_regs' may be used uninitialized in this function [-Wuninitialized] drivers/mfd/wm8994-core.c:408:14: note: 'patch_regs' was declared here Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud