dell-laptop: Clear buffer before each SMBIOS call
authorPali Rohár <pali.rohar@gmail.com>
Mon, 6 Jul 2015 10:08:55 +0000 (12:08 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 6 Jul 2015 22:33:38 +0000 (15:33 -0700)
Make sure that before initializing SMBIOS call, the input buffer does
not contain any garbage (e.g. values from previous SMBIOS call). This
fixes problems with passing undefined/random parameters to SMBIOS
functions.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-laptop.c

Simple merge