Re: [PATCH 2/2] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-13 Thread Bin Gao
On Sun, Jun 12, 2016 at 10:13:33AM +0800, Aaron Lu wrote: > Last time Paul suggests device_initcall instead of module_init here: > > commit 75829dcf10862966f52716f2d67ac1c1b1eb486b > Author: Paul Gortmaker > Date: Mon Feb 15 00:27:51 2016 -0500 > >

Re: [PATCH 2/2] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-13 Thread Bin Gao
On Sun, Jun 12, 2016 at 10:13:33AM +0800, Aaron Lu wrote: > Last time Paul suggests device_initcall instead of module_init here: > > commit 75829dcf10862966f52716f2d67ac1c1b1eb486b > Author: Paul Gortmaker > Date: Mon Feb 15 00:27:51 2016 -0500 > > drivers/acpi: make pmic/intel_pmic_crc.c

Re: [PATCH 2/2] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-11 Thread Aaron Lu
On 06/11/2016 03:25 PM, Bin Gao wrote: > This patch adds operation region driver for Intel BXT WhiskeyCove > PMIC. The register mapping is done as per the BXT WC data sheet. > > Signed-off-by: Ajay Thomas > Signed-off-by: Bin Gao >

Re: [PATCH 2/2] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-11 Thread Aaron Lu
On 06/11/2016 03:25 PM, Bin Gao wrote: > This patch adds operation region driver for Intel BXT WhiskeyCove > PMIC. The register mapping is done as per the BXT WC data sheet. > > Signed-off-by: Ajay Thomas > Signed-off-by: Bin Gao > --- > +static int __init

[PATCH 2/2] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-11 Thread Bin Gao
This patch adds operation region driver for Intel BXT WhiskeyCove PMIC. The register mapping is done as per the BXT WC data sheet. Signed-off-by: Ajay Thomas Signed-off-by: Bin Gao --- drivers/acpi/Kconfig | 6 +

[PATCH 2/2] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-11 Thread Bin Gao
This patch adds operation region driver for Intel BXT WhiskeyCove PMIC. The register mapping is done as per the BXT WC data sheet. Signed-off-by: Ajay Thomas Signed-off-by: Bin Gao --- drivers/acpi/Kconfig | 6 + drivers/acpi/Makefile| 1 +