mfd: MAX77693: Fix NULL pointer error when initializing irqs
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 21 Aug 2012 06:16:23 +0000 (15:16 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 15 Sep 2012 22:32:37 +0000 (00:32 +0200)
commit887780b85a8dde06224f33681ecc4fac73b92a36
treeb70c571248670d1d3985e489b698f239dabde655
parentf84e9954f7352293e223b0b5f3b13c09e7cba098
mfd: MAX77693: Fix NULL pointer error when initializing irqs

This patch initialize register map of MUIC device because mfd driver
of Maxim MAX77693 use regmap-muic instance of MUIC device when irqs of
Maxim MAX77693 is initialized before call max77693-muic probe() function.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reported-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/extcon/extcon-max77693.c
drivers/mfd/max77693.c