Dan Carpenter d6daef9512 mfd: pm8921: Potential NULL dereference in pm8921_remove()
We assume that "pmic" could be NULL and then dereference it two lines
later.  I fix this by moving the dereference inside the NULL check.

Fixes: c013f0a56c56 ('mfd: Add pm8xxx irq support')

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2013-11-11 11:22:19 +00:00
..
2013-10-23 16:20:44 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:22:33 +01:00
2013-07-31 13:01:29 +01:00
2013-04-05 11:20:13 +02:00
2012-11-28 12:22:27 -08:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-08-20 03:16:00 +02:00
2013-08-20 03:16:00 +02:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:22:33 +01:00
2013-07-31 13:01:29 +01:00
2012-09-23 20:51:34 +02:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:22:33 +01:00
2013-08-20 08:51:23 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2012-11-28 12:22:27 -08:00
2013-07-31 13:01:29 +01:00
2013-04-19 00:45:20 +02:00
2013-08-20 10:22:01 +02:00
2013-07-31 13:01:29 +01:00
2013-06-18 09:41:15 +02:00
2013-07-31 13:01:29 +01:00
2013-04-09 12:18:16 +02:00
2013-07-31 13:01:45 +01:00
2013-10-23 16:21:12 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2012-11-28 12:22:27 -08:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00