dell-laptop: move dell_smi_error() to dell-smbios
authorMichał Kępień <kernel@kempniu.pl>
Fri, 4 Mar 2016 13:09:06 +0000 (14:09 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 23 Mar 2016 17:05:49 +0000 (10:05 -0700)
commite8edf53b198f5656d5ae99685bc6c1f616662b3d
treed17533b7dd0af9d1d35acd5ef56e928113439f46
parent4db9675d927a71faa66e5ab128d2390d6329750b
dell-laptop: move dell_smi_error() to dell-smbios

The dell_smi_error() method could be used by modules other than
dell-laptop for convenient translation of SMBIOS request errors into
errno values.  Thus, move it to dell-smbios.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-laptop.c
drivers/platform/x86/dell-smbios.c
drivers/platform/x86/dell-smbios.h