intel-mid: sfi: Allow struct devs_id.get_platform_data to be NULL
authorDavid Cohen <david.a.cohen@linux.intel.com>
Thu, 17 Oct 2013 22:35:34 +0000 (15:35 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 17 Oct 2013 23:40:59 +0000 (16:40 -0700)
commit0e6fdb5f036338bc38bf660c65c931b3e92a31d7
tree134e08e73cb3c741949d6d7641f7b0b9b8ef721f
parentaeedb370e7398fb5b39185b295d36f2da0653215
intel-mid: sfi: Allow struct devs_id.get_platform_data to be NULL

Intel mid sfi code doesn't need struct devs_id.get_platform_data != NULL.
If the callback is not set, just assume there is no platform_data.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1382049336-21316-11-git-send-email-david.a.cohen@linux.intel.com
Cc: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/platform/intel-mid/sfi.c