]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit43aaf4f03f063b12bcba2f8b800fdec85e2acc75
tree20a444b026703c0af7565dc2c01924c4befe27dc
parent6cc8cbbc8868033f279b63e98b26b75eaa0006ab
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