summaryrefslogtreecommitdiff
path: root/drivers/pnp/pnpacpi
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-12 21:35:20 +0300
committerEric Anholt <eric@anholt.net>2016-10-06 21:53:35 +0300
commit57b9f569447c4ab7b2a7e34a13e468311db4cd64 (patch)
treee6719af0a19a7958327ec1f25df79c8bfee87116 /drivers/pnp/pnpacpi
parentc2cbc38b9715bd8318062e600668fc30e5a3fbfa (diff)
downloadlinux-57b9f569447c4ab7b2a7e34a13e468311db4cd64.tar.xz
drm/vc4: cleanup with list_first_entry_or_null()
The combo of list_empty() check and return list_first_entry() can be replaced with list_first_entry_or_null(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/pnp/pnpacpi')
0 files changed, 0 insertions, 0 deletions