platform/x86: wmi: Replace list_for_each() by list_for_each_entry()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Feb 2018 15:02:28 +0000 (17:02 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Feb 2018 16:43:39 +0000 (18:43 +0200)
commitcedb3b2a7d7cb059b3646db14dfe2f833bf4d52d
tree2e3f9966f6d4043c3312a0778adc2479d82e4d33
parent7f166addbebdcaeefe36997d5b8dceb96c5619fa
platform/x86: wmi: Replace list_for_each() by list_for_each_entry()

In all cases list_for_each() followed by list_entry(),
so, replace them by list_for_each_entry() macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/wmi.c