hwmon: (asus_atk0110) Fix compiler warning

atk_sensor_type is only used when DEBUG is defined.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by Luca Tettamanti and committed by Jean Delvare b9008708 8c9ed899

+2
+2
drivers/hwmon/asus_atk0110.c
··· 348 return 0; 349 } 350 351 static char const *atk_sensor_type(union acpi_object *flags) 352 { 353 u64 type = flags->integer.value & ATK_TYPE_MASK; ··· 371 372 return what; 373 } 374 375 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj) 376 {
··· 348 return 0; 349 } 350 351 + #ifdef DEBUG 352 static char const *atk_sensor_type(union acpi_object *flags) 353 { 354 u64 type = flags->integer.value & ATK_TYPE_MASK; ··· 370 371 return what; 372 } 373 + #endif 374 375 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj) 376 {