platform/x86: silead_dmi - abort early if DMI does not match
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 4 Apr 2017 03:25:14 +0000 (20:25 -0700)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:16:03 +0000 (10:16 -0700)
commitf22265b61585c18c4aaa37e0bcc7f72a6db7a715
treeb0207b7fabfc62f60e0a8a51e1b3e86e1c419502
parente1053963984318f67c60c629664c5f09b93cc1c4
platform/x86: silead_dmi - abort early if DMI does not match

There is no point in registering I2C bus notifier if DMI data does not
match.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
[andy: updated due to previous patch changed]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/silead_dmi.c