From: Axel Lin Date: Mon, 27 Oct 2014 16:37:35 +0000 (-0700) Subject: soc: ti: Use list_first_entry_or_null() at appropriate places X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~13^2~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42813295dfa3689c73e93726e7ebbbdb466dd246;p=pandora-kernel.git soc: ti: Use list_first_entry_or_null() at appropriate places Use list_first_entry_or_null() for first_region() and first_queue_range(). list_first_entry() expects the list is not empty, so first_region() and first_queue_range() never return NULL. Thus use list_first_entry_or_null() instead. Signed-off-by: Axel Lin Signed-off-by: Santosh Shilimkar --- Reading git-diff-tree failed