backports: simplify and fix thermal backport with multiple NICs

This is equivalent to two commits added to iwlwifi-backports, but in a
way that applies to the released Cores:

commit ee1678a4610c ("backports: simplify and fix thermal backport with multiple NICs")
commit 80a9e6d43f2a ("backports: fix thermal compilation with kernel < 3.19")

It fixes the thermal backports when we have more than one NIC using
the thermal framework.

type=maintenance

Change-Id: I698e725d18c9f8e69cbe4bb0e12c26ef89a9c3c6
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/43771
Tested-by: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
x-iwlwifi-stack-dev: 32a3f36080e5f3b5ec34e2be904e78fe4c069a3f
3 files changed