intel_mid: Added custom device_handler support
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Thu, 17 Oct 2013 22:35:31 +0000 (15:35 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 17 Oct 2013 23:40:49 +0000 (16:40 -0700)
commit3fd79ae4275001f293dbd170479e89df6c433226
tree9631bf5f11c69a67381531dadc12079f594cc7ad
parent661b01076500e364c68dd9fdf0ef4216a75e8375
intel_mid: Added custom device_handler support

This patch provides a means to add custom handler for
SFI devices. If you set device_handler as NULL in
device_id table standard SFI device handler will be used.
If its not NULL custom handler will be called.

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