thermal: int340x_thermal: Switch to use new generic UUID API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 9 Jun 2017 08:33:06 +0000 (11:33 +0300)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 Jun 2017 13:07:54 +0000 (15:07 +0200)
commitf4c19ac9c24c5c5dcab4e961e4d7f8f5709c650e
tree8a52930e37a3cad0626c22e3492a67a3385d2673
parentbcbc2265f269cc57924371e3bce8c3220d0270c5
thermal: int340x_thermal: Switch to use new generic UUID API

There are new types and helpers that are supposed to be used in
new code.

As a preparation to get rid of legacy types and API functions do
the conversion here.

The conversion fixes a potential bug in int340x_thermal as well
since we have to use memcmp() on binary data.

Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/thermal/int340x_thermal/int3400_thermal.c