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>
Thu, 7 Aug 2014 06:16:08 +0000 (15:16 +0900)
commit0bc67638b673ed91af61d5820d4810fa63ff6ff1
treec55fdcf066263e45dd465604ab40882f5b89fd1b
parent51436ea11a750cf848726e20ea161ed2bfa0aeeb
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