From: Andy Shevchenko Date: Wed, 25 Mar 2015 18:03:55 +0000 (+0200) Subject: mfd: intel_quark_i2c_gpio: Don't crash if !DMI X-Git-Tag: omap-for-v4.2/o2_dc~140^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bafc1face21f34005d34b72010ad6d7235bd448e;p=pandora-kernel.git mfd: intel_quark_i2c_gpio: Don't crash if !DMI dmi_get_system_info() may return NULL either when CONFIG_DMI is not set or when board has an old firmware. The patch prevents a crash and changes the default frequency to be in align with older board. Signed-off-by: Andy Shevchenko [Lee: Removed overt "sentinel" comment and extra lines] Signed-off-by: Lee Jones --- Reading git-diff-tree failed