hwmon: (xgene) Minor clean up of ifdef and acpi_match_table reference
authorhotran <hotran@apm.com>
Tue, 31 Oct 2017 20:58:07 +0000 (13:58 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 Nov 2017 13:14:52 +0000 (06:14 -0700)
commit2305a18ba9ffa105ad1686f40a7861718c338e3c
treef63cc22fa4561f19c197b22fa195add6ea46d79a
parent5813da157f7dbe03d268c8d0dd9425d0e3944910
hwmon: (xgene) Minor clean up of ifdef and acpi_match_table reference

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 <hotran@apm.com>
[groeck: Dropped unnecessary initialization]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/xgene-hwmon.c