Re: hwmon: xgene: Minor clean up of ifdef and acpi_match_table reference

2017-11-01 Thread Hoan Tran
On Wed, Nov 1, 2017 at 6:15 AM, Guenter Roeck wrote: > On Tue, Oct 31, 2017 at 01:58:07PM -0700, hotran wrote: >> This patch removes the un-necessary ifdef CONFIG_ACPI and directly >> uses the acpi_match_table from the driver pdev. >> >> Signed-off-by: Hoan Tran

Re: hwmon: xgene: Minor clean up of ifdef and acpi_match_table reference

2017-11-01 Thread Hoan Tran
On Wed, Nov 1, 2017 at 6:15 AM, Guenter Roeck wrote: > On Tue, Oct 31, 2017 at 01:58:07PM -0700, hotran wrote: >> This patch removes the un-necessary ifdef CONFIG_ACPI and directly >> uses the acpi_match_table from the driver pdev. >> >> Signed-off-by: Hoan Tran > > Applied to hwmon-next, with

Re: hwmon: xgene: Minor clean up of ifdef and acpi_match_table reference

2017-11-01 Thread Guenter Roeck
On Tue, Oct 31, 2017 at 01:58:07PM -0700, hotran wrote: > This patch removes the un-necessary ifdef CONFIG_ACPI and directly > uses the acpi_match_table from the driver pdev. > > Signed-off-by: Hoan Tran Applied to hwmon-next, with now unnecessary initialization of 'version'

Re: hwmon: xgene: Minor clean up of ifdef and acpi_match_table reference

2017-11-01 Thread Guenter Roeck
On Tue, Oct 31, 2017 at 01:58:07PM -0700, hotran wrote: > This patch removes the un-necessary ifdef CONFIG_ACPI and directly > uses the acpi_match_table from the driver pdev. > > Signed-off-by: Hoan Tran Applied to hwmon-next, with now unnecessary initialization of 'version' removed. Thanks,

[PATCH] hwmon: xgene: Minor clean up of ifdef and acpi_match_table reference

2017-10-31 Thread Hoan Tran
This patch removes the un-necessary ifdef CONFIG_ACPI and directly uses the acpi_match_table from the driver pdev. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hwmon/xgene-hwmon.c

[PATCH] hwmon: xgene: Minor clean up of ifdef and acpi_match_table reference

2017-10-31 Thread Hoan Tran
This patch removes the un-necessary ifdef CONFIG_ACPI and directly uses the acpi_match_table from the driver pdev. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hwmon/xgene-hwmon.c