]> asedeno.scripts.mit.edu Git - linux.git/commit
HISI LPC: Stop using MFD APIs
authorJohn Garry <john.garry@huawei.com>
Tue, 8 May 2018 10:27:30 +0000 (18:27 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 10 May 2018 16:30:06 +0000 (17:30 +0100)
commit332f632ec3d1dccdb89fadd5ce0850f02e14824d
tree2b10d3323f855b47a0cd5bfa71fe3d6651788113
parent6da6c0db5316275015e8cc2959f12a17584aeb64
HISI LPC: Stop using MFD APIs

The MFD APIs should only be used by drivers in
drivers/mfd. It is not worth splitting the driver to have
separate parts in drivers/bus and drivers/mfd, so just
drop MFD API usage.

As a solution, we will use the platform device APIs directly
to achieve the same as we had when using MFD APIs.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
drivers/bus/Kconfig
drivers/bus/hisi_lpc.c