]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e0c88be578c24b2b7a07069964b481cb1de26b0
tree134e08e73cb3c741949d6d7641f7b0b9b8ef721f
parentd334edec97d26d0c8c5776717e453c3f49ac1c85
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