Re: [RFC v6 4/9] platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices

From: Andy Shevchenko
Date: Fri Oct 27 2017 - 12:25:10 EST


On Thu, Oct 19, 2017 at 3:23 AM,
<sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx> wrote:
> From: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx>
>
> 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.

I have applied this patch with some modifications to my review-andy branch.
Please, take it from there (and probably patch 3) and resend new
version of the series based on our testing branch.

P.S. This patch still needs more work, I will comment on new version.

--
With Best Regards,
Andy Shevchenko