Axel Lin c0cdfaa0a5 of/irq: Avoid calling list_first_entry() for empty list
list_first_entry() expects the list is not empty, we need to check if list is
empty before calling list_first_entry(). Thus use list_first_entry_or_null()
instead of list_first_entry().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
2013-07-22 19:40:38 +01:00
..
2013-07-04 15:51:45 -07:00
2013-07-04 15:51:45 -07:00
2013-06-18 13:46:26 +02:00
2013-06-12 12:37:40 +01:00
2013-06-12 12:37:40 +01:00
2012-07-10 10:32:06 -05:00
2013-06-18 13:46:26 +02:00