intel_th: msu: Replace open-coded list_{first,last,next}_entry variants
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 3 May 2019 08:44:43 +0000 (11:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 May 2019 16:14:30 +0000 (18:14 +0200)
commit0de9e0351d4d4266b3e3f4ecf405c21af61a1f9e
tree554af794a5eace96903e512ef746255836ffd57d
parent4c5bb6eb4055adcefaeb5da56dfbecf7df3695d7
intel_th: msu: Replace open-coded list_{first,last,next}_entry variants

There are a few places in the code where open-coded versions of list entry
accessors list_first_entry()/list_last_entry()/list_next_entry() are used.

Replace those with the standard macros.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/intel_th/msu.c