Re: [PATCH] rtc: cmos: avoid unused function warning

2016-09-22 Thread Alexandre Belloni
On 22/09/2016 at 11:48:00 +0200, Arnd Bergmann wrote : > A bug fix for the ACPI side of this driver caused a harmless > build warning: > > drivers/rtc/rtc-cmos.c:1115:13: error: 'cmos_check_acpi_rtc_status' defined > but not used [-Werror=unused-function] > static void cmos_check_acpi_rtc_status

[PATCH] rtc: cmos: avoid unused function warning

2016-09-22 Thread Arnd Bergmann
A bug fix for the ACPI side of this driver caused a harmless build warning: drivers/rtc/rtc-cmos.c:1115:13: error: 'cmos_check_acpi_rtc_status' defined but not used [-Werror=unused-function] static void cmos_check_acpi_rtc_status(struct device *dev, We can avoid the warning and simplify the dri