From d996919766ca6459c0eaee31008e428a662d93a9 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 14 May 2014 10:02:39 +1000 Subject: [PATCH] rtc-rtc-cmos-drivers-char-rtcc-features-for-decstation-support-fix fix weird code layout Cc: "Maciej W. Rozycki" Cc: Alessandro Zummo Cc: Maciej W. Rozycki Cc: Ralf Baechle Signed-off-by: Andrew Morton --- drivers/rtc/rtc-cmos.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c index 7d316986bb6a..b0e4a3eb33c7 100644 --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c @@ -662,11 +662,11 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) * (needing ioremap etc), not i/o space resources like this ... */ if (RTC_IOMAPPED) - ports = request_region - (ports->start, resource_size(ports), driver_name); + ports = request_region(ports->start, resource_size(ports), + driver_name); else - ports = request_mem_region - (ports->start, resource_size(ports), driver_name); + ports = request_mem_region(ports->start, resource_size(ports), + driver_name); if (!ports) { dev_dbg(dev, "i/o registers already in use\n"); return -EBUSY; -- 2.39.5