mfd: max77686: check the interrupt is specified or not
authorHyungwon Hwang <human.hwang@samsung.com>
Fri, 20 Jun 2014 11:05:27 +0000 (20:05 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:52 +0000 (11:59 +0900)
commitd7c47eb737403241cd95761c2356717c117df53e
treebb3a54ff17ac51d6acc9ff00833bc1859e7facf9
parent69001af8d926b3f43366449f790ddbd902a37a3d
mfd: max77686: check the interrupt is specified or not

For the cases which the interrupt for this device is not specified, it must be
checked whether it is or not. Without it, an error occurs, because some
operations are done on the interrupt number which is not specified well.

Change-Id: Idc0a4b0f1e99f0f1022795927c54c1d3f56a4459
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
drivers/mfd/max77686.c