dell-laptop: use dell_smbios_find_token() instead of find_token_location()
authorMichał Kępień <kernel@kempniu.pl>
Fri, 22 Jan 2016 14:27:24 +0000 (15:27 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 23 Mar 2016 17:05:42 +0000 (10:05 -0700)
commitf951d6e6faedcead91419b785f73a620d8ed191a
tree0693a69dd6edcec92d8c3c255a39f38c047d73c0
parent63c4029bdfc220ec3a1fa9135f5db3bdcd93b502
dell-laptop: use dell_smbios_find_token() instead of find_token_location()

Replace all uses of find_token_location() with dell_smbios_find_token()
to avoid directly accessing the da_tokens table.

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