mfd: lpc_ich: Use devres API to allocate private data
authorAaron Sierra <asierra@xes-inc.com>
Thu, 14 Feb 2013 17:35:04 +0000 (11:35 -0600)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 15 Feb 2013 17:43:38 +0000 (18:43 +0100)
commitff7109fa632654eaef657186f2942f5b679023d6
treeffa81b07db0ddb0b8bfefd3d572002d06b7c82d5
parent3ec3090cf14ec0920a5fbe976b5aafd6084db435
mfd: lpc_ich: Use devres API to allocate private data

And fix a kzalloc argument inversion bug while converting to devres.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/lpc_ich.c