mfd: wm8350 variable dereferenced before check
authorJonghwan Choi <jhbird.choi@samsung.com>
Mon, 20 Feb 2012 15:13:43 +0000 (16:13 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 20 Feb 2012 15:18:47 +0000 (16:18 +0100)
Remove "wm8350->irq_base = pdata->irq_base" to avoid
null pointer exception and wm8350->irq_base got from
irq_alloc_descs().

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found