mfd: Fix incorrect error check for wm8350-core
authorDan Carpenter <error27@gmail.com>
Sat, 21 Nov 2009 08:13:48 +0000 (10:13 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:47 +0000 (19:21 +0100)
commitcb9b2245009d18ae011c44006335088f743b72e2
tree6778be2cd06e3ee3c5cc180853d54442ca0034c9
parent89f5f9f79e5b3caae3e39832774f0f909c18ec5e
mfd: Fix incorrect error check for wm8350-core

It was *pdev which was allocated not pdev.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8350-core.c