summaryrefslogtreecommitdiffstats
path: root/drivers/soc/ti/knav_qmss_queue.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-10-27 17:37:35 +0100
committerSantosh Shilimkar <ssantosh@kernel.org>2014-10-27 17:37:35 +0100
commit42813295dfa3689c73e93726e7ebbbdb466dd246 (patch)
tree387823539fc3ce0adb2f832590266aa30082c04c /drivers/soc/ti/knav_qmss_queue.c
parentLinux 3.18-rc1 (diff)
downloadlinux-42813295dfa3689c73e93726e7ebbbdb466dd246.tar.xz
linux-42813295dfa3689c73e93726e7ebbbdb466dd246.zip
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 <axel.lin@ingics.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'drivers/soc/ti/knav_qmss_queue.c')
0 files changed, 0 insertions, 0 deletions