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

Replace all uses of find_token_id() 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