]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Sun, 29 Oct 2017 09:49:55 +0000 (02:49 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 5 Nov 2017 11:53:14 +0000 (13:53 +0200)
commitd012b091c44dd6a86e6e0bc92455d26870d92942
tree20a444b026703c0af7565dc2c01924c4befe27dc
parentd4735f3721d80575d8432d934a0f2dcec9b7cdb3
platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices

Currently, we have lot of repetitive code in dependent device resource
allocation and device creation handling code. This logic can be improved if
we use MFD framework for dependent device creation. This patch adds this
support.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_ipc.c