mfd: pcf50633: Init pcf->dev before using it
authorAxel Lin <axel.lin@ingics.com>
Tue, 25 Dec 2012 02:52:49 +0000 (10:52 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 22 Jan 2013 02:05:33 +0000 (03:05 +0100)
commitb30dd8f2e5e6a1b31b89d93d85942055b97327c2
tree85ba2590eb56c60765282f3559a3a7a1b7229927
parent2429d863868edb611f033c9ce4db519fbc270240
mfd: pcf50633: Init pcf->dev before using it

Current code uses pcf->dev in the dev_err call before setting it to
&client->dev. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/pcf50633-core.c