platform/x86: intel_mid_thermal: Fix suspend handlers unused warning
authorBorislav Petkov <bp@suse.de>
Sat, 26 Nov 2016 16:01:51 +0000 (17:01 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:29:02 +0000 (09:29 -0800)
commitb4aca383f9afb5f84b05de272656e6d4a919d995
tree8b32e2dc7298bc7653cb145f5d4688a23b950b88
parentbb9ad484845d7cc48f0c8db199a91c3a669d908f
platform/x86: intel_mid_thermal: Fix suspend handlers unused warning

Fix:

  drivers/platform/x86/intel_mid_thermal.c:424:12: warning: ‘mid_thermal_resume’
  defined but not used [-Wunused-function]
   static int mid_thermal_resume(struct device *dev)
              ^
  drivers/platform/x86/intel_mid_thermal.c:436:12: warning: ‘mid_thermal_suspend’
  defined but not used [-Wunused-function]
   static int mid_thermal_suspend(struct device *dev)
              ^

which I see during randbuilds here.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Darren Hart <dvhart@infradead.org>
Cc: platform-driver-x86@vger.kernel.org
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_mid_thermal.c